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

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

Bundling And Minifying Modular Javascript (requirejs / Amd) With Asp.net Mvc

Does anyone have any experience with or know any good solutions for bundling and minifying modular … Read more Bundling And Minifying Modular Javascript (requirejs / Amd) With Asp.net Mvc

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?

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

Requirejs: How To Define Extra Dependencies For 3rd Party Library

Basically I want to be able to load some module first before other. For example, I want bootstrap t… Read more Requirejs: How To Define Extra Dependencies For 3rd Party Library

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

How To Disable Bundling In Webpack For Development?

In my web app I was using RequireJS to asynchronously load my javascript files on demand. This work… Read more How To Disable Bundling In Webpack For Development?

Don't Invoke Inherited Method Twice In Es6 Classes

I'm moving from RequireJS to browserify (together with babelify) and try to rewrite my current … Read more Don't Invoke Inherited Method Twice In Es6 Classes

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

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

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

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

Handlebars Not Loading After Require.js Optimization With Grunt-requirejs

I'm using the Yeoman Backbone generator for my app. I wanted to use Handlebars for templates. W… Read more Handlebars Not Loading After Require.js Optimization With Grunt-requirejs

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

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

Event Handling With Subclasses

Based on this question. I'm moving from RequireJS to browserify (together with babelify) and tr… Read more Event Handling With Subclasses

Resolving Modules Using Require.js And Java/rhino

I'm trying to get require.js to load modules on the server-side with Java 6 and Rhino. I'm … Read more Resolving Modules Using Require.js And Java/rhino

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

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?

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?