Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update #.js

  • Loading branch information...
commit 919a531c30e2129f0202aebab19d0e9d9caad624 1 parent a33355f
@guybedford authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 #.js
View
8 #.js
@@ -12,7 +12,7 @@
* require '#!cs!csmodule >=2.0 <5'
*
* Setup:
- * jquery.js (provides version list):
+ * jquery.versions.js (provides version list):
* define(function() {
* return ['1.8.0', '1.8.1'];
* });
@@ -65,8 +65,8 @@ define(['./semver', 'require'], function(semver, req) {
}
else {
// load the version ranges for the given moduleName
- req([moduleShortName], checkVersions, function(err) {
- throw 'You need to provide a "' + moduleShortName + '" module providing the version array.';
+ req([moduleShortName + '.versions'], checkVersions, function(err) {
+ throw 'You need to provide a "' + moduleShortName + '.versions.js" module providing the version array.';
});
}
},
@@ -87,4 +87,4 @@ define(['./semver', 'require'], function(semver, req) {
});
}
};
-});
+});
Please sign in to comment.
Something went wrong with that request. Please try again.