Skip to content

Commit

Permalink
fix(zepto): upgrade autocomplete.js (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Oct 3, 2016
1 parent 1936d8d commit e024917
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -62,7 +62,7 @@
"peerDependencies": {},
"dependencies": {
"algoliasearch": "^3.18.0",
"autocomplete.js": "0.21.1",
"autocomplete.js": "^0.21.8",
"hogan.js": "^3.0.2",
"to-factory": "^1.0.0"
}
Expand Down
10 changes: 1 addition & 9 deletions src/lib/zepto.js
@@ -1,10 +1,2 @@
/* zepto work-around */

const current$ = window.$;
const currentZepto = window.Zepto;
require('autocomplete.js/zepto.js');
const zepto = window.Zepto;
window.$ = current$;
window.Zepto = currentZepto;

import zepto from 'autocomplete.js/zepto.js';
export default zepto;

0 comments on commit e024917

Please sign in to comment.