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

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

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

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

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

Reactjs And Requirejs -> How To Use Multiple Classes Returned From One Module?

I've got a RequireJS module that returns multiple ReactJS classes that I'd like to be immed… Read more Reactjs And Requirejs -> How To Use Multiple Classes Returned From One Module?

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

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

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

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

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

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

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

How Do I Use Ng-app With Requirejs?

I'm learning RequireJs and I'm stumped on how to use Angular directives in my HTML that req… Read more How Do I Use Ng-app With Requirejs?

Requirejs Does Not Follow Relative Path For Data-main With Baseurl Set

Using requireJS, I am trying to specify a path for my data-main that is different from the baseUrl.… Read more Requirejs Does Not Follow Relative Path For Data-main With Baseurl Set

How Does Amd (require.js) Handle Multiple Classes In A Single Non-amd Js File?

I'm using a bunch of components from the MootoolsMore library which are all compiled into a sin… Read more How Does Amd (require.js) Handle Multiple Classes In A Single Non-amd Js File?

Require.js Alternative Way To Require?

New to require.js. I have this: define([ 'jquery', 'underscore', 'b… Read more Require.js Alternative Way To Require?

Double Parameters With Require: Var Io = Require('socket.io')(http);

I'm new to node and JS and was working thorough the socket.io chat example (http://socket.io/ge… Read more Double Parameters With Require: Var Io = Require('socket.io')(http);

Crossroads.js And Require.js

I want to use crossroads.js with require.js to determine what file to require based on the URL. I h… Read more Crossroads.js And Require.js

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

Requirejs, Jquery Still Undefined

I know this has already been discussed, but after searching for a while I can't figure out why … Read more Requirejs, Jquery Still Undefined