Skip to content

Commit

Permalink
v0.4.3 - require correct path to autocomplete for AMD
Browse files Browse the repository at this point in the history
  • Loading branch information
rniemeyer committed May 11, 2015
1 parent a0c04f9 commit 8e1ddd0
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "knockout-jqAutocomplete",
"version": "0.4.2",
"version": "0.4.3",
"main": "build/knockout-jqAutocomplete.min.js",
"ignore": [
"examples",
Expand Down
4 changes: 2 additions & 2 deletions build/knockout-jqAutocomplete.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// knockout-jqAutocomplete 0.4.2 | (c) 2015 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
// knockout-jqAutocomplete 0.4.3 | (c) 2015 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
;(function(factory) {
if (typeof define === "function" && define.amd) {
// AMD anonymous module
define(["knockout", "jquery", "jquery.ui"], factory);
define(["knockout", "jquery", "jquery-ui/autocomplete"], factory);
} else {
// No module loader - put directly in global namespace
factory(window.ko, jQuery);
Expand Down
4 changes: 2 additions & 2 deletions build/knockout-jqAutocomplete.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "knockout-jqAutocomplete",
"version": "0.4.2",
"version": "0.4.3",
"author": "Ryan Niemeyer",
"repository": {
"type": "git",
"url": "git://github.com/rniemeyer/knockout-jqAutocomplete.git"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-uglify": "0.x.x",
Expand All @@ -10,5 +15,11 @@
"grunt-contrib-jasmine": "0.x.x",
"grunt-template-jasmine-istanbul": "0.x.x",
"grunt-bower-task": "~0.3.4"
}
},
"licenses": [
{
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
}
]
}
2 changes: 1 addition & 1 deletion src/knockout-jqAutocomplete.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;(function(factory) {
if (typeof define === "function" && define.amd) {
// AMD anonymous module
define(["knockout", "jquery", "jquery.ui"], factory);
define(["knockout", "jquery", "jquery-ui/autocomplete"], factory);
} else {
// No module loader - put directly in global namespace
factory(window.ko, jQuery);
Expand Down

0 comments on commit 8e1ddd0

Please sign in to comment.