Skip to main content

All Questions

1 vote
0 answers
909 views

lodash loaded through requirejs and with a script throws "Mismatched anonymous define" error

I am working on an application that uses requirejs and loads underscore with it but also loads underscore as a node_module using a script. Since we needed functionality found in lodash I decided to ...
Michail Michailidis's user avatar
8 votes
2 answers
814 views

Using Lo-Dash and Underscore simulatenously in RequireJS environment

In a RequireJS environment, what's the best way to allow some AMD modules to use Lo-Dash while others simultaneously use Underscore?
Donald T's user avatar
  • 10.5k
1 vote
2 answers
3k views

How to write a lodash template loader for requirejs

I'm using a requirejs plugin to define "tmpl!" loader (not a jquery template, but a lodash template. The problem is that the text! loader is adding a ";" at the end of the template. This is being ...
xrl's user avatar
  • 2,205
0 votes
0 answers
349 views

Using backbone.localstorage with backbone boilerplate and require.js

I'm using backbone boilerplate (grunt-bbb) and requireJS for a project and I have a question regarding backbone.localstorage and lodash. It seems like the localstorage plugin requires underscore. I've ...
Jeff's user avatar
  • 2,343