Browse Source

Fix jQuery moving its files around

In 1.10 -> 1.11 as well as 2.0 -> 2.1 transition, bower package
only includes dist directory, so jquery.min.js must be found there.

Specified array of paths to try for require.js to try,
so jQuery is found in pre- as well as post-transition scenarios.
Herbert Vojčík 9 years ago
parent
commit
c9d23e83f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      support/amber.js

+ 1 - 1
support/amber.js

@@ -86,7 +86,7 @@ require = function (require) {
             'helios/set': amber_home + '/support/helios/set',
             'helios/resources': amber_home + '/support/helios/resources',
             'helios/index': amber_home + '/support/helios/index',
-            'jquery': library_home + '/jquery/jquery.min'
+            'jquery': [ library_home + '/jquery/dist/jquery.min', library_home + '/jquery/jquery.min' ]
         },
         map: {
             '*': {