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

Typescript. Referenceerror: Require Is Not Defined

I read official doc for TypeScript, and I copy code from there. I install commonjs and requerejs. … Read more Typescript. Referenceerror: Require Is Not Defined

Circular Dependencies For A Web App Using Backbone.marionette And Requirejs

I am in the following situation. I am using requireJs to loads module and I don't want to use g… Read more Circular Dependencies For A Web App Using Backbone.marionette And Requirejs

Accessing The Functions In Express On Client Side Using The Require -- Node Js

I have a to access the config variables defined in the file called test.js which has -- var aws =… Read more Accessing The Functions In Express On Client Side Using The Require -- Node Js

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

Requirejs Calling Callbacks Before Dependencies Loaded/resolved

I'm having an issue with RequireJS where my main.js script has a reference to a dependency, whi… Read more Requirejs Calling Callbacks Before Dependencies Loaded/resolved

Load Standard Javascript Files With Requirejs

I'm trying out requireJS in order to improve the loading of Javascript on an ASP.NET MVC app, u… Read more Load Standard Javascript Files With Requirejs

Optimize Requirejs Front-end Application

I am learning to use r.js to optimize/minify/uglify a front-end app. So far it is really cool and p… Read more Optimize Requirejs Front-end Application

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

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

Google Closure Compiler Includes

I've been using google closure compiler for a little bit with my projects, it's awesome! I&… Read more Google Closure Compiler Includes

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

How To Reload A File Via Require.js Triggered From The Browsers Js Console

Having a text file (underscore templates) loaded by require.js on initial app start: define(['t… Read more How To Reload A File Via Require.js Triggered From The Browsers Js Console

Any Equivalent Gulp Plugin For Doing "grunt Bower"?

With grunt, I could use command grunt bower (provided by grunt-bower-requirejs) to auto-generate Re… Read more Any Equivalent Gulp Plugin For Doing "grunt Bower"?

Backbone.js And Require.js: Mismatched Anonymous Define() Module: Function (_, Backbone) {

I am new to using require.js and have the following app.js file as part of my backbone app: require… Read more Backbone.js And Require.js: Mismatched Anonymous Define() Module: Function (_, Backbone) {

How To Wait When Data-main Is Loaded With Require.js Before Executing Script?

I'm having the following code: Solution 1: Ended up doing the following, which isn't … Read more How To Wait When Data-main Is Loaded With Require.js Before Executing Script?

Exporting Createjs Lib Assets For Use With Require.js

I'm trying to use assets (vector, movieclips, etc.) exported from the Flash IDE for CreateJS bu… Read more Exporting Createjs Lib Assets For Use With Require.js

Installing Axios Using Npm Is Undefined

I am new to Axios and I am dealing with my first issue! I installed it with npm install axios and… Read more Installing Axios Using Npm Is 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?

Window.onload Not Running On Page Refresh

I just started using RequireJs. Only one problem. Can someone explain why the code inside the requi… Read more Window.onload Not Running On Page Refresh

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?