Skip to content

Commit

Permalink
Load minified version of typeahead (20kB dif)
Browse files Browse the repository at this point in the history
Could not update typehead to 0.11.1 because of:
twitter/typeahead.js#1558
Maybe we could use this fork:
https://github.com/nikcub/typeahead

But according to CHANGELOG, 0.11 was a major rewrite,
so I think we'll stay with the old version
  • Loading branch information
danielhollas committed Mar 14, 2020
1 parent 94d55a1 commit 1d0806d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions www/js/main.js
Expand Up @@ -4,18 +4,18 @@
baseUrl: `${basePath}/build/js`,
paths: {
'lib/alert': `${basePath}/libs/bootstrap/js/alert`,
'lib/dropdown': `${basePath}/libs/bootstrap/js/dropdown`,
'lib/modal': `${basePath}/libs/bootstrap/js/modal`,
'lib/tab': `${basePath}/libs/bootstrap/js/tab`,
'lib/babel': `${basePath}/libs/babel/browser-polyfill`,
'lib/chosen': `${basePath}/libs/chosen/chosen.jquery.min`,
'lib/dropdown': `${basePath}/libs/bootstrap/js/dropdown`,
'lib/jquery': `${basePath}/libs/jquery/dist/jquery.min`,
'lib/jquery-ui': `${basePath}/libs/jquery-ui/jquery-ui.min`,
'lib/mailcheck': `${basePath}/libs/mailcheck/src/mailcheck.min`,
'lib/modal': `${basePath}/libs/bootstrap/js/modal`,
'lib/nette': `${basePath}/libs/nette-forms/src/assets/netteForms`,
'lib/nette-ajax': `${basePath}/libs/nette.ajax.js/nette.ajax`,
'lib/sortable': `${basePath}/libs/Sortable/Sortable.min`,
'lib/tab': `${basePath}/libs/bootstrap/js/tab`,
'lib/typeahead': `${basePath}/libs/typeahead.js/dist/typeahead.jquery`,
'lib/typeahead': `${basePath}/libs/typeahead.js/dist/typeahead.jquery.min`,
'lib/zeroclipboard': `${basePath}/libs/zeroclipboard/dist/ZeroClipboard.min`,
'lib/zxcvbn': `${basePath}/libs/zxcvbn/zxcvbn`
},
Expand Down

0 comments on commit 1d0806d

Please sign in to comment.