TheRusskiy / ng-slide-down

AngularJS directive for slide-down animation
41 stars 16 forks source link

support npm commonjs/amd #9

Open ghost opened 9 years ago

ghost commented 9 years ago

support use this package in systemjs.

You also need to put the package up on NPM.

TheRusskiy commented 9 years ago

Published to NPM - https://www.npmjs.com/package/ng-slide-down As for systemjs and other stuff - I've never used Angular with any other dependency management systems rather than one inbuilt in Angular

ghost commented 9 years ago

warn It's taking a long time to process the dependencies of npm:ng-slide-down@0.4.1. This package may need an ignore property to indicate test or example folders for jspm to skip.

You need to ignore your node_modules, etc.

ghost commented 9 years ago

I submitted a PR to set your main.

However you need to follow this guide to make an AMD compliant module: http://blog.brasskazoo.com/2013/02/converting-existing-javascript-file-to.html