collective / collective.tocify

Integrates the Table of Contents pattern tocify (pat-tocify) with Plone
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Using node built js causes $.widget is not a function error #5

Closed instification closed 8 years ago

instification commented 8 years ago

Steps to reproduce:

In the root of the package run: make bundle-tocify

Update index.html to point the js and css to ./build/tocify.js and ./build.tocify.min.css

When loading the test page the following error is returned:

Uncaught TypeError: $.widget is not a function

instification commented 8 years ago

More info here http://patternslib.com/load-custom-pattern-with-requirejs

allcaps commented 8 years ago

This has to do with the version of jQuery.ui and it's version. Fixed this in a newly created pattern. See: