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

lift.js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lift.js

JS Shims

  • 0.2.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Sauce Test Status

Lift JS

Lift JS aims to raise old browers up to the same level as modern browsers. It is a collection of AMD modules loaded on-demand to shim missing JS features.

Load LiftJS with your favorite AMD loader.

Examples

Here are some code examples to show how to use lift JS with various AMD loaders.

RequireJS

require.config({
  deps: ['liftjs'],
  packages: [
    {
      name: 'liftjs',
      location: 'lib/liftjs/',
      main: 'lift'
    }
  ]
});
// All LiftJS dependencies loaded before main is executed.
require(['main'], callback);

require({ paths: { lib: 'lib/' } }, ['lib/liftjs/lift'], function() {
  // lift.js and all dependencies are loaded.
  require(['main', 'other'], callback);
});

CurlJS

curl.config({
  preloads: ['liftjs'],
  packages: [
    {
      name: 'liftjs',
      path: 'lib/liftjs/',
      main: 'lift'
    }
  ]
});
curl(['main', 'other', 'another' /* etc */]).then(callback, errorback);

// lift.js and all dependencies are loaded before the .next() call
curl({ paths: { lib: 'lib/' } }, ['lib/liftjs/lift']).next(['main'], callback);

Keywords

FAQs

Package last updated on 24 Jul 2015

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