1
0
Fork 0

fix(zepto): upgrade autocomplete.js (#150)

This commit is contained in:
Vincent Voyer 2016-10-03 12:50:52 +02:00 committed by GitHub
parent 1936d8dacb
commit e024917360
2 changed files with 2 additions and 10 deletions

View file

@ -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"
}

View file

@ -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;