Skip to content Skip to sidebar Skip to footer
Showing posts with the label Module

How To Separate Angularjs Files Without Using Global Scope

I've seen this post AngularJS best practices for module declaration? But I am still a little co… Read more How To Separate Angularjs Files Without Using Global Scope

React Components And Module Exports

I don't understand how module.exports can only export one component that has a dependency on a … Read more React Components And Module Exports

Adding Methods To Javascript Module Pattern

Just learned about JavaScript module pattern. Love it! So, I created my generic custom library whi… Read more Adding Methods To Javascript Module Pattern

How To Import Part Of Object In Es6 Modules

In the react documentation I found this way to import PureRenderMixin var PureRenderMixin = require… Read more How To Import Part Of Object In Es6 Modules

Understanding Es6 Modules

Please can someone confirm my understanding of ES modules? In javascripts/bar.js: var foo = 2; exp… Read more Understanding Es6 Modules

Angularjs: [$injector:modulerr] Failed To Instantiate Module Ui-router

I'm a relative newbie in Angular and after following the tutorial I now want to build something… Read more Angularjs: [$injector:modulerr] Failed To Instantiate Module Ui-router