Skip to content

Commit

Permalink
updateable suggestUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsky committed Nov 28, 2014
1 parent 182471d commit e0b24a3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea/
unibox.iml
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unibox",
"version": "1.4.1",
"version": "1.4.2",
"main": [
"js/unibox.min.js",
"css/unibox.min.css"
Expand Down
4 changes: 4 additions & 0 deletions js/unibox.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ var UniBox = function() {
}

}

function updateSuggestUrl(newUrl) {
suggestUrl = newUrl;
}

// return an object, through closure all methods keep bound to returned object
return {
Expand Down
2 changes: 1 addition & 1 deletion js/unibox.min.js

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

2 changes: 1 addition & 1 deletion unibox.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"search",
"suggestion"
],
"version": "1.4.1",
"version": "1.4.2",
"author": {
"name": "David Urbansky",
"url": "https://github.com/ddsky/unibox"
Expand Down

0 comments on commit e0b24a3

Please sign in to comment.