This file contains hidden or 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
| const fs = require('fs') | |
| // Get component names | |
| const components = [] | |
| fs.readdir('src/components', function (err, items) { | |
| for (var i = 0; i < items.length; i++) { | |
| components.push(items[i].slice(0, -4)) | |
| } | |
| }); |
This file contains hidden or 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
| /** | |
| * dragdrop.js | |
| * http://www.codrops.com | |
| * | |
| * Licensed under the MIT license. | |
| * http://www.opensource.org/licenses/mit-license.php | |
| * | |
| * Copyright 2014, Codrops | |
| * http://www.codrops.com | |
| * |
NewerOlder