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

Use A Typescript Module/class In The Browser And In The Server (node.js)

How would I use the same typescript class or module in a client side javascript file and in a serve… Read more Use A Typescript Module/class In The Browser And In The Server (node.js)

Require Js Ruins Code Navigation

require.js states the way of defining objects inside modules with define([requiremens], object) as … Read more Require Js Ruins Code Navigation

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

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

Requirejs Module Name "requirejs" Has Not Been Loaded Yet For Context. Use Require([])

I know there is a help page for a module not loading, however, this seems like a different case due… Read more Requirejs Module Name "requirejs" Has Not Been Loaded Yet For Context. Use Require([])

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

Dependency Injection In Context Of Backbone.js

I heard a lot about dependency injection(DI) in angular js. how we can achieve the same in backbone… Read more Dependency Injection In Context Of Backbone.js

Angular-jasmine, Loading Json

I am trying to load json from local folder and then feed it into function to test it. Here is what … Read more Angular-jasmine, Loading Json

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?

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

Javascript Regex To Match A Pattern But Not Match A Regex Literal (r.js Optimizer And Uglify Issue)?

I've got a Backbone application, organized into modules using Require.js. One of these modules … Read more Javascript Regex To Match A Pattern But Not Match A Regex Literal (r.js Optimizer And Uglify Issue)?

Trouble Combining Require.js And Backbone.js/underscore.js

I've read previous threads where other members have had identical error messages as me, but the… Read more Trouble Combining Require.js And Backbone.js/underscore.js

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?

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

Require.js + Backbone Optimization

Good afternoon, I'm trying to optimize a source code based on Require.js and Backbone using r.j… Read more Require.js + Backbone Optimization

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

How To Solve Circular Dependency In Require.js?

Basically, the idea is that 'sub' module creates an object, and that object should be part … Read more How To Solve Circular Dependency In Require.js?

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

Megapiximage Error From Fineuploader When Loading Page With Requirejs

I am refactoring my application to use RequireJS (using the sbt-web abstraction in Play Framework, … Read more Megapiximage Error From Fineuploader When Loading Page With Requirejs

Cannot Read Property 'view' Of Undefined

This is my first time to use require.js with backbone, and I'm struggling to find the problem w… Read more Cannot Read Property 'view' Of Undefined