Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ctesiusjs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ctesiusjs

The core JS files for Ctesius themes.

  • 1.0.3
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 12 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc