almond Questions
2
I read the following article on how to get Google Maps, and gmaps.js to work with RequireJS. However, when I build my project, RequireJS is swapped with Almond. In the article above, it states that...
Santossantosdumont asked 16/12, 2012 at 5:48
5
Solved
I have multiple pages on a site using RequireJS, and most pages have unique functionality. All of them share a host of common modules (jQuery, Backbone, and more); all of them have their own unique...
Suffruticose asked 11/6, 2013 at 2:22
2
Solved
I'm attempting to build a SPA application (requirejs, durandal 2, knockout) into a single main-build.js file using grunt, and I'm running into serious issues with the 'text' plugin that durandal is...
5
Solved
We love RequireJS and AMD during development, where we can edit a module, hit reload in our browser, and immediately see the result. But when it comes time to concatenate our modules into a single ...
Depict asked 11/6, 2012 at 21:19
2
Solved
I'm trying to make an external library using Require.js. Thanks to Require.js not compiling single js file correctly and Require.js (almond.js) Timing Off I've figured out how to get everything to ...
1
Solved
I'm trying to set up a gruntfile that utilizes requirejs and almond. The docs suggest it should be really easy, and following their lead, I tried:
requirejs: {
compile: {
options: {
baseUrl: "t...
Cinemascope asked 20/2, 2014 at 0:46
1
Solved
Here is (part of) my folder structure:
node-test
bower_components
build
public
main.js
build.js
Running the optimizer with r.js -o build.js and the following configuration works fine:
// m...
Equidistant asked 3/7, 2013 at 19:15
1
In my grunt.js file I've got
requirejs: {
dist: {
options: {
almond: true,
wrap: true,
modules: [{name: 'main'}],
mainConfigFile: "src/js/main.js",
baseUrl: "src/js",
dir: "tmp/js",
inlin...
1
Solved
As the title says my inline require calls are working in a non-optimized requirejs run but not working when built with grunt and almondjs.
Uncaught Error: undefined missing views/some/view
The t...
Aldous asked 20/3, 2013 at 5:13
1
© 2022 - 2024 — McMap. All rights reserved.