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

Where Do I Put My Knockout.js Extensions When Using Typescript And Requirejs

I am in the process of porting some javascript code to typescript and using requirejs. I have a con… Read more Where Do I Put My Knockout.js Extensions When Using Typescript And Requirejs

Auto Defining A Custom Js Library In Backbonejs

I've created an JS library to handle all my API calls. Is there a way to automatically include… Read more Auto Defining A Custom Js Library In Backbonejs

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

Requirejs Paths Not Work

I'm new to RequireJS and trying to use it. I followed an example in RequireJS docs but there is… Read more Requirejs Paths Not Work

Are Asynchronous Modules Always Asynchronous?

When multiple JavaScript modules are define()'d using AMD and concatenated into a single file, … Read more Are Asynchronous Modules Always Asynchronous?

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

Requirejs Text Plugin And Variable Concatenated String

I'm using RequireJS text plugin to load some html templates. When I passing a string literal to… Read more Requirejs Text Plugin And Variable Concatenated String

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

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

Creating A Reusable Requirejs Library

Given the following simplified scenario, how could I best construct my reusable component so that i… Read more Creating A Reusable Requirejs Library

Datatables+requirejs: Cannot Read Property 'defaults' Of Undefined

I have downloaded the full package of DataTables with all its module, since it can't be accesse… Read more Datatables+requirejs: Cannot Read Property 'defaults' Of Undefined

Jquery Plugin + Amd = How To Access Functions?

I am wrapping up my jQuery plugin in an AMD environment. This is my boilerplate, !function(root, fa… Read more Jquery Plugin + Amd = How To Access Functions?

Cannot Get Requirejs To Include Backbonejs

I am trying to modularize my Backbone app through Requirejs, but I cannot seem to get Requirejs to … Read more Cannot Get Requirejs To Include Backbonejs

Set Up Jsfiddle With Requirejs, Socketio, Backbone

I've spent more than half a day trying to set up a requirejs, socket.io, backbonejs fiddle so a… Read more Set Up Jsfiddle With Requirejs, Socketio, Backbone

Requirejs Multiple Module In Single File

I want to merge multiple modules into a single file, but I can't find an official document abou… Read more Requirejs Multiple Module In Single File

Loading Angular From Cdn Via Requirejs Is Not Injected

In my project I want to use RequireJS and bootstrap my app as follows: requirejs.config({ baseUrl: … Read more Loading Angular From Cdn Via Requirejs Is Not Injected

Calling Methods In Requirejs Modules From Html Elements Such As Onclick Handlers

I'm changing a project from an 'old' browser-style module structure to a 'new' … Read more Calling Methods In Requirejs Modules From Html Elements Such As Onclick Handlers

Requirejs Module Is Undefined

I have following directory structure scripts modules tabs.js app.js I have followi… Read more Requirejs Module Is Undefined

Migrating From Requirejs To Webpack

I'm migrating/moving a project based on require.js to webpack v3. Since all my modules are usin… Read more Migrating From Requirejs To Webpack

Handling Load Timeouts Of A View In A Durandal App

I've got a Durandal app that will periodically timeout when attempting to load a view. Here… Read more Handling Load Timeouts Of A View In A Durandal App