1.0.3 • Published 5 years ago

ctesiusjs v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Use locally by setting the path to your local copy in the theme's package.json file:

"dependencies": {
  // ...
  "ctesius": "file:/home/[user]/ctesiusjs"
 }

Then run npm install.

To execute scripts on the global namespace (the same as if they were executed in order in the old blob) we need to use script-loader: https://stackoverflow.com/questions/48998102/webpack-how-to-load-non-module-scripts-into-global-scope-window

We can start refactoring these scripts into proper ES6 modules afterwards.

We need to expose jQuery globally for that the various plugins (cookie, colorbox etc) have access to it, so we need to use expose-loader: https://stackoverflow.com/questions/29080148/expose-jquery-to-real-window-object-with-webpack

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago