forked from malte-wessel/react-custom-scrollbars
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Malte W
committed
Feb 15, 2016
1 parent
bfe3282
commit f632d08
Showing
4 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
lib | ||
**/node_modules | ||
**/webpack.config.js | ||
examples/**/server.js | ||
**/prepublish.js | ||
examples/**/server.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
var glob = require('glob'); | ||
var fs = require('fs'); | ||
var es3ify = require('es3ify'); | ||
|
||
glob('./@(lib|dist)/**/*.js', function (err, files) { | ||
if (err) throw err; | ||
|
||
files.forEach(function(file) { | ||
fs.readFile(file, 'utf8', function (err, data) { | ||
if (err) throw err; | ||
fs.writeFile(file, es3ify.transform(data), function (err) { | ||
if (err) throw err | ||
console.log('es3ified ' + file); | ||
}) | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters