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

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"?

Preserving Jquery Dependency For Highcharts With Requirejs Optimizer

I'm testing out requireJS and am trying to make a simple project using highcharts. I've st… Read more Preserving Jquery Dependency For Highcharts With Requirejs Optimizer

Requirejs Anonymous Dependency Not Defined

I have a problem with requirejs and a dependency being undefined. My setup is the following: var li… Read more Requirejs Anonymous Dependency Not Defined

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

Requirejs Search For App.app Instead Of App.js (where App.js Is Entry Point Specified In Data-main)

Problem: I have a trivial demo application which use requireJS. When require.min.js script loads, … Read more Requirejs Search For App.app Instead Of App.js (where App.js Is Entry Point Specified In Data-main)

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

How To Load Ace Editor With Requirejs From Cdn?

I am trying to load the ace editor from a CDN with requirejs. Here is a plunkr which illustrates my… Read more How To Load Ace Editor With Requirejs From Cdn?

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

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 Order Of Dependencies

if you have a RequireJS module like so: define( [ '#patches', 'back… Read more Requirejs Order Of Dependencies

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

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

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

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

Require Js Is Ignoring My Config

I'm having pretty simple directory structure for scripts: /js/ Solution 1: Solved. The … Read more Require Js Is Ignoring My Config

Load External Scripts With Requirejs Without Access To Config

I'm trying to load the datatables javascript library in a plugin that I'm writing. The issu… Read more Load External Scripts With Requirejs Without Access To Config

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

Module Pattern- How To Split The Code For One Module Into Different Js Files?

For the module pattern, I'm doing something like: (function(namespace) { // tons of code … Read more Module Pattern- How To Split The Code For One Module Into Different Js Files?

Requirejs Compilation In Maven Project With External Js Dependencies

I have a web project that's built with Maven and I'm trying to figure out the best way to c… Read more Requirejs Compilation In Maven Project With External Js Dependencies

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