Skip to content
This repository was archived by the owner on Dec 16, 2019. It is now read-only.

Commit d3f215e

Browse files
authored
Merge pull request #293 from killzoner/master
Use IIFE & reflect NPM availibility
2 parents 60ea42c + 792446b commit d3f215e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ http://myforce.github.io/angularjs-dropdown-multiselect/
3131
1. Using bower: <img src="http://benschwarz.github.io/bower-badges/[email protected]" width="130" height="30">
3232

3333
Just run `bower install myforce-angularjs-dropdown-multiselect`
34-
2. Manually:
34+
2. Using npm :
35+
Just run `npm install angularjs-dropdown-multiselect`
36+
3. Manually:
3537
You can download the `.js` file directly or clone this repository
3638
2. Include the file in your app
3739
- `<script type="text/javascript" src="angularjs-dropdown-multiselect.js"></script>`.

src/angularjs-dropdown-multiselect.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
(function (angular) {
2+
13
'use strict';
24

35
var directiveModule = angular.module('angularjs-dropdown-multiselect', []);
@@ -568,3 +570,5 @@ function findIndex(collection, properties) {
568570

569571
return index;
570572
}
573+
574+
})(angular);

0 commit comments

Comments
 (0)