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

Sharing Common Code Across Pages With Browserify

I have a fairly large multi-page javascript applications that uses requirejs to organize code. I am… Read more Sharing Common Code Across Pages With Browserify

Using Angularjs With Requirejs - Cannot Read Property 'module' Of Undefined

I had started writing an app using angularJS. After a few weeks, I suddenly realized that I should … Read more Using Angularjs With Requirejs - Cannot Read Property 'module' Of Undefined

Unable To Call Functions With Require.js

i try to write an module for my node.js server with require.js that just returns the object i want … Read more Unable To Call Functions With Require.js

How Do I Use Jquery Ui With Requirejs

I want to use jQuery UI's addClass function in my application. Beside I am using the normal jQu… Read more How Do I Use Jquery Ui With Requirejs

Why Do I Need To Load Jquery Twice

In my html page, I need to put jquery twice. If I take anyone of them out my page , then the page d… Read more Why Do I Need To Load Jquery Twice

Optimize/build Modules Under Parallel Directories Using The Same Config File In Requirejs

I have a feeling that the title just might not be explanatory :) Setup Suppose that I have the foll… Read more Optimize/build Modules Under Parallel Directories Using The Same Config File In Requirejs

How To Document A Require.js (amd) Modul With Jsdoc 3 Or Jsdoc?

I have 2 types of Modules: Require.js Main File: require.config({ baseUrl: '/another/… Read more How To Document A Require.js (amd) Modul With Jsdoc 3 Or Jsdoc?

Angularjs Template. Inner Js Not Execute

I have many template html page, which include js code. JS do not execute when my RouteProvider load… Read more Angularjs Template. Inner Js Not Execute

Adding Requirejs Module That Uses Jquery On A Page That Already Has Jquery As A Global

I have an add-on to an application (call it appX) that allows users to create their own customizati… Read more Adding Requirejs Module That Uses Jquery On A Page That Already Has Jquery As A Global

Use A Typescript Module/class In The Browser And In The Server (node.js)

How would I use the same typescript class or module in a client side javascript file and in a serve… Read more Use A Typescript Module/class In The Browser And In The Server (node.js)

Dependency Injection In Context Of Backbone.js

I heard a lot about dependency injection(DI) in angular js. how we can achieve the same in backbone… Read more Dependency Injection In Context Of Backbone.js

Load Stripe.js With Require.js

I'm having trouble loading Stripe.js with Require.js. My setup looks a bit like this requirejs.… Read more Load Stripe.js With Require.js

Durandal (knockout) App With Multilanguage Support

I am building multilingual support for the app I'm working on. After doing some research and re… Read more Durandal (knockout) App With Multilanguage Support

Can We Export Multiple Non-amd Functions From A Module In Requirejs?

If I have a non-AMD module named old.js and inside this script I have two functions f1 and f2 defin… Read more Can We Export Multiple Non-amd Functions From A Module In Requirejs?

Error Loading Jquery-ui In Require.js Config For Fancytree Plugin

I'm trying to load a jQuery control called fancytree and this control depends on jquery-ui. I&#… Read more Error Loading Jquery-ui In Require.js Config For Fancytree Plugin

Difference Between "q" And "q" In Angularjs And Requirejs

I am creating a single page app built on AngularJS, Breeze, and RequireJS. In setting up AMD with r… Read more Difference Between "q" And "q" In Angularjs And Requirejs

Is It A Bad Practice To Use The Requirejs Module As A Singleton?

I plan to use the following pattern to make use of the requireJS based module to act as a singleton… Read more Is It A Bad Practice To Use The Requirejs Module As A Singleton?

Calling Function Inside A Function In Requirejs Module Javascript

Hi guys is this posibble? calling a function inside a function inside a requirejs module? TIA defi… Read more Calling Function Inside A Function In Requirejs Module Javascript

Using Amd Module As An Aurelia Viewmodel

I was playing with Aurelia and seems pretty nice, I use Durandal for some projects and this definit… Read more Using Amd Module As An Aurelia Viewmodel

Requirejs Worked For One Plug-in, But Not Another

I previously asked this question, and got one plug-in to work. Now, I'm trying to get another p… Read more Requirejs Worked For One Plug-in, But Not Another