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

Angular-jasmine, Loading Json

I am trying to load json from local folder and then feed it into function to test it. Here is what … Read more Angular-jasmine, Loading Json

Module Definition To Work With Node.js, Require.js And With Plain Scripttags Too

I am working on a javascript module/library that should work in 3 environments: in node.js in requ… Read more Module Definition To Work With Node.js, Require.js And With Plain Scripttags Too

Require Js Ruins Code Navigation

require.js states the way of defining objects inside modules with define([requiremens], object) as … Read more Require Js Ruins Code Navigation

Are There Any Problems With Nesting App-specific Backbone.js Assets Under Common Ones?

I am working on structuring a large application that has several, discrete client-side applications… Read more Are There Any Problems With Nesting App-specific Backbone.js Assets Under Common Ones?

Uglify One Js File Using Requirejs Optimizer

I'd like to know if there is a way to uglify only one file in command line using r.js (RequireJ… Read more Uglify One Js File Using Requirejs Optimizer

Load External Scripts With Requirejs Without Access To Config

I'm trying to load the datatables javascript library in a plugin that I'm writing. The issu… Read more Load External Scripts With Requirejs Without Access To Config

Requirejs Dependency Not Working

I am trying to use angular-ladda directive in my app. Here is my main.js which is the requirejs man… Read more Requirejs Dependency Not Working

Module Pattern- How To Split The Code For One Module Into Different Js Files?

For the module pattern, I'm doing something like: (function(namespace) { // tons of code … Read more Module Pattern- How To Split The Code For One Module Into Different Js Files?