Created
October 9, 2012 20:10
-
-
Save greatseth/3861127 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <!--[if lt IE 7 ]><html lang="en" class="no-js ie ie6"><![endif]--> | |
| <!--[if IE 7 ]><html lang="en" class="no-js ie ie7"><![endif]--> | |
| <!--[if IE 8 ]><html lang="en" class="no-js ie ie8"><![endif]--> | |
| <!--[if IE 9 ]><html lang="en" class="no-js ie ie9"><![endif]--> | |
| <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="no-js"><!--<![endif]--> | |
| <head> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> | |
| <meta charset="utf-8"> | |
| <script type="text/javascript" src="/interactives/library/vendor/modernizr/modernizr.custom.latest.js"></script> | |
| <script type="text/javascript" src="/interactives/library/vendor/respond/1.1.0/respond.src.min.js"></script> | |
| <script type="text/javascript"> | |
| var require = { | |
| paths: { | |
| 'underscore': 'vendor/underscore/1.4.2/underscore', | |
| 'backbone': 'vendor/backbone/0.9.2/backbone' | |
| }, | |
| shim: { | |
| 'underscore': { exports: '_' }, | |
| 'backbone': { exports: 'Backbone', deps: ['underscore', 'jquery'] } | |
| } | |
| }; | |
| </script> | |
| <script data-main="test" src="/interactives/library/vendor/require.js/2.1.0/require-jquery.js" type="text/javascript"></script> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require(['backbone'], function(Backbone) { | |
| // throws error Uncaught TypeError: Object #<Object> has no method 'set' /interactives/library/vendor/backbone/0.9.2/backbone.js:203 | |
| Backbone.Model(); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment