Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 1301  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Discussion for RequireJS, a file and module loader for JavaScript:
http://github.com/jrburke/requirejs
 

optimizer - change relative path to absolute path? (or something like that) 
  I am using grunt requirejs task to optimize individual widgets separate from the main application logic. The issue that I'm having is that when I define the main script for the widget, I use relative paths for the dependencies (really basic example): define(['hbs!./templates/main' ], function (template) {... more »
By m.r.forbes  - May 22 - 1 new of 1 message    

Load timeout for modules from time to time 
  I know here are a lot of issues related to the "Load timeout for modules" but I made a decision to ask experts. I push errors to Google Analytics on "window.onerror" and almost every day there are several (typically 1-5) errors that say "Load timeout for modules" (different modules). But personally, I can't reproduce it. The... more »
By Сергей Кащеев  - May 22 - 1 new of 1 message    

Managing the race condition 
  Across our organization we have multiple development teams including a framework team and several application teams. All of the teams write AMD modules to manage their code within their own module id namespace. // framework.js require.config( { baseUrl: "/frameworkjs/" // Configure 3rd party libraries and fmk/* modules... more »
By Jeffrey Rose  - May 21 - 1 new of 1 message    

Suggestion: Caching Solution 
  requirejs provides a means of appending arguments to urls to help prevent caching. Some are using this feature as such... urlArgs: (new Date()).getTime() ... as a solution... but, what would be really nice is a option like... urlArgs: filetimestamp // Note: naming & syntax insignificant ... and when this option is used, requirejs would automatically append the... more »
By Mick Owen  - May 21 - 1 new of 1 message    

RequireJS does not accept URL`s in the config`s paths declaration 
  I want to inject google this way that I can inject my own google mock in the runner.js for unit testing where I do not want http calls. paths: { lib: 'lib', async: 'lib/async', google: 'async![link] },... more »
By Lisa  - May 21 - 4 new of 4 messages    

Some Questions about AMD & JavaScript Modules 
  Hey There, I'm doing a presentation in a couple of months on JavaScript modules & module loaders. I'm going to make a strong case that modules are a really significant part of making any significant JavaScript code base manageable and more pleasant to work with. I looking for a variety of opinions on the pros & cons of various module... more »
By Walter Rumsby  - May 21 - 2 new of 2 messages    

paths config problem 
  RequireJS intermittently tries to require a file that I've explicitly overridden in my paths config. Here is my setup: index.html: <script data-main="/scripts/main" src="/scripts/require-2.1.6.js "></script> <script> requirejs([ 'app' ]); </script> /scripts/main.js: requirejs.config({... more »
By Michael Jackson  - May 17 - 4 new of 4 messages    

comments and uglify2 
  Hi there, I'm trying to use the uglify2 optimizer on my project but can't seem to get requirejsto tell it to keep comments which use cc_on directives I thought I'd just be able to pass the "comments" option<[link]> to uglify2 like this (in my build.js file):... more »
By Steve  - May 17 - 2 new of 2 messages    

Require local problem 
  I have a for loop that gets modules paths and loads them, but: config.apps: { catston_logs: 'apps/catston_logs/js/catston_ logs/', catston_data: 'apps/catston_data/js/catston_ data/' }, for (var app_name in config.apps) {... more »
By Rafał Łużyński  - May 16 - 2 new of 2 messages    

How to exclude a module from r.js build script totally ( i want to use two versions of jquery depending on the browser, maybe you can suggesta better way ) 
  Hi, i'm trying to build my javascript file and i get Tracing dependencies for: pages/calendar Error: ENOENT, no such file or directory 'C:\Program Files (x86)\Zend\Apache2\htdocs\word press_pro\wp-content\plugins\a ll-in-one-event-calendar-pro\a pp\view\admin\js\jquery_timely .js' In module tree: pages/calendar... more »
By Nicola Peluchetti  - May 16 - 2 new of 2 messages    

1 - 10 of 1301   « Newer | Older »

XML       Send email to this group: requirejs@googlegroups.com