Last active
September 29, 2016 18:23
-
-
Save datakurre/4233c2bee6f8832dcbad849e777da253 to your computer and use it in GitHub Desktop.
Shimming collective.polls for webpack...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// collective.z3cform.widgets | |
import 'imports?jQuery=jquery!++resource++collective.z3cform.widgets/jquery.tasksplease'; | |
// collective.z3cform.widgets replaces keyword / categorization widget also on Plone 5... | |
import 'imports?jQuery=jquery!++resource++collective.z3cform.widgets/jquery.tokeninput'; | |
import keywordTokenInputActivate from 'imports?$=jquery,jQuery=jquery!exports?keywordTokenInputActivate!++resource++collective.z3cform.widgets/keywords'; | |
window.keywordTokenInputActivate = keywordTokenInputActivate; | |
// collective.polls | |
import 'jquery.browser'; // jquery.browser is no more in jQuery >= 1.9 | |
import 'imports?jQuery=jquery!++resource++collective.polls/js/jquery.flot'; | |
import 'imports?jQuery=jquery!++resource++collective.polls/js/jquery.flot.pie'; | |
import 'imports?jQuery=jquery,window=>{jQuery:jQuery}!++resource++collective.polls/js/polls'; | |
import 'imports?jQuery=jquery,window=>{jQuery:jQuery}!++resource++collective.polls/js/collective.poll'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment