Skip to content

Commit ff776c1

Browse files
committed
docs(bridge): explaing bridge from JavaScript to CoffeeScript
1 parent 1bda00d commit ff776c1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

gulpfile.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// the build instructions are in gulpfile.coffee
2-
// this file is a simple bridge since gulp doesn't support
3-
// CoffeeScript files natively.
1+
// This file is a bridge between JavaScript and CoffeeScript
42

5-
require('./node_modules/coffee-script/register');
6-
require('./gulpfile.coffee');
3+
require('coffee-script').register();
4+
5+
module.exports = require('./gulpfile.coffee');

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is a simple bridge since gulp doesn't support CoffeeScript configurations natively.
1+
// This file is a bridge between JavaScript and CoffeeScript
22

33
require('coffee-script').register();
44

0 commit comments

Comments
 (0)