Skip to content

Commit

Permalink
fix: requirejs error callback
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Nov 2, 2015
1 parent d99ab92 commit 1113094
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions examples/requireJSExample/js/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
requirejs.config({
require.config({
baseUrl: 'js/',
paths: {
'jquery': 'jquery',
Expand All @@ -17,6 +17,6 @@ requirejs.config({
});

// Start the main app logic.
requirejs(['test'], function() {
require(['test'], function() {
angular.bootstrap(document.body, ['test']);
});
Loading

0 comments on commit 1113094

Please sign in to comment.