New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-ui-sortable-loader

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-ui-sortable-loader

Asynchronously loads jQuery and jQuery UI for use with Angular UI Sortable

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
80
increased by17.65%
Maintainers
1
Weekly downloads
 
Created
Source

Angular UI Sortable Loader

Asynchronously loads jQuery and jQuery UI for use with Angular UI Sortable. jQuery and jQueryUI are only loaded once, when a ui-sortable directive is encountered.

Please note that this module is intended to work with ui.sortable and it probably won't work with any other script that depends on jQuery.

Demo

Install

Include Angular, Angular UI Sortable and ui-sortable-loader.min.js or ui-sortable-loader.js in your page. You can use bower, or a script-tag:

bower install angular-ui-sortable-loader

or

<script src="http://crisbeto.github.io/angular-ui-sortable-loader/ui-sortable-loader.min.js"></script>

Afterwards you need to specify your jQueryPath and jQueryUiPath in the uiSortableConfig object, inside a run block in your app. Note that you need to have declared ui.sortable as a dependency:

angular.module('someModule', ['ui.sortable']).run(['uiSortableConfig', function(uiSortableConfig){
    uiSortableConfig.jQueryPath = 'https://code.jquery.com/jquery-1.11.3.min.js';
    uiSortableConfig.jQueryUiPath = 'https://code.jquery.com/ui/1.11.4/jquery-ui.js';
}])

Development

  • npm install to install development dependencies
  • grunt to build minified demo in build/
  • grunt deploy to build minified demo and push it to gh-pages branch

Credits

Keywords

FAQs

Package last updated on 01 Oct 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