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
/** | |
* In this simplified example, | |
* '_application.js' is our entry point | |
* and it requires 'init.js', | |
* which in turn requires both the 'home_view' | |
* and the 'current_user_model' | |
*/ | |
var modules = [ | |
// dependencies can be referenced by index |
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
/** | |
* @see http://webpack.github.io/docs/configuration.html | |
* for webpack configuration options | |
*/ | |
module.exports = { | |
// 'context' sets the directory where webpack looks for module files you list in | |
// your 'require' statements | |
context: __dirname + '/app/assets/javascripts', | |
// 'entry' specifies the entry point, where webpack starts reading all |
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
// by Dmitry Soshnikov <[email protected]> | |
// MIT Style License | |
*Classification of classes:* | |
============================================================================= | |
| Dynamic | Static | |
----------------------------------------------------------------------------- | |
| | | |
| Coffee, Python, Ruby, | SmallTalk, built-in |