Closed codeimpossible closed 10 years ago
Surely the problem is the dot (.) in your 'backbone.validation'
- why do you use the dot anyway ?
The npm package comes as npm install backbone-validation
and the standalone file is backbone-validation.js
.
Please try with -
and let me know and thanks for pointing out that uRequire strips the last part after .
as extension...
closing as its not probably not an issue - let me know if you still have problems
I'm using urequire on a project at work and am seeing references to "backbone.validation" being replaced with "backbone":
before
after
Here is my urequire config:
Is there an option I can add to prevent urequire from overwriting my require statements?