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

Commit 0ba8c67

Browse files
author
pkempenaers
committed
Remove MyForce references and update versions to be higher than myforce-angularjs-dropdown-multiselect
1 parent e48d126 commit 0ba8c67

9 files changed

+57
-67
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# AngularJS Dropdown Multiselect
2-
[![CDNJS](https://img.shields.io/cdnjs/v/myforce-angularjs-dropdown-multiselect.svg)](https://cdnjs.com/libraries/myforce-angularjs-dropdown-multiselect)
3-
41
This directive gives you a Bootstrap Dropdown with the power of AngularJS directives.
52

63
# Features
@@ -16,9 +13,10 @@ This directive gives you a Bootstrap Dropdown with the power of AngularJS direct
1613
- Callback events.
1714
- Translation texts.
1815
- Scrollable list (useful for big lists)
16+
- Keyboard controls
1917

2018
## Demo
21-
http://myforce.github.io/angularjs-dropdown-multiselect/
19+
http://dotansimha.github.io/angularjs-dropdown-multiselect/
2220

2321
## Dependencies
2422
- required: AngularJS >= 1.2, Bootstrap >= 3.0
@@ -30,7 +28,7 @@ http://myforce.github.io/angularjs-dropdown-multiselect/
3028
1. Download the files
3129
1. Using bower: <img src="http://benschwarz.github.io/bower-badges/[email protected]" width="130" height="30">
3230

33-
Just run `bower install myforce-angularjs-dropdown-multiselect`
31+
Just run `bower install angularjs-dropdown-multiselect`
3432
2. Using npm :
3533
Just run `npm install angularjs-dropdown-multiselect`
3634
3. Manually:
@@ -43,4 +41,4 @@ http://myforce.github.io/angularjs-dropdown-multiselect/
4341

4442
## Usage and Documentation
4543
See the documentation and examples in the GitHub pages:
46-
http://myforce.github.io/angularjs-dropdown-multiselect/
44+
http://dotansimha.github.io/angularjs-dropdown-multiselect/

bower.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "myforce-angularjs-dropdown-multiselect",
3-
"version": "1.10.2",
2+
"name": "angularjs-dropdown-multiselect",
3+
"version": "1.11.0",
44
"authors": [
55
"Dotan Simha <[email protected]>",
66
"Pieter Kempenaers <[email protected]>"

development_index.html

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!DOCTYPE html>
22
<html ng-app="exampleApp">
33

44
<head>
@@ -25,13 +25,13 @@
2525
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
2626
<![endif]-->
2727

28-
<title>AngularJS Dropdown Multiselect by MyForce</title>
28+
<title>AngularJS Dropdown Multiselect</title>
2929
</head>
3030

3131
<body>
3232
<header>
3333
<div class="inner">
34-
<a href="https://github.com/myforce/angularjs-dropdown-multiselect" class="btn btn-info pull-right gh-button-link">
34+
<a href="https://github.com/dotansimha/angularjs-dropdown-multiselect" class="btn btn-info pull-right gh-button-link">
3535
<strong>
3636
View project on
3737
<br />GitHub
@@ -50,10 +50,6 @@ <h2>based on Bootstrap's dropdown</h2>
5050
</div>
5151
<footer>
5252
<div class="inner">
53-
<a href="http://www.myforce.be/" class="pull-right">
54-
<img src="./pages/images/myforcelogokleur.png" />
55-
</a>
56-
<p>Contributed by MyForce NV</p>
5753
<p>This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the Architect theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
5854
</div>
5955
</footer>

dist/angularjs-dropdown-multiselect.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

+2-6
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
2626
<![endif]-->
2727

28-
<title>AngularJS Dropdown Multiselect by MyForce</title>
28+
<title>AngularJS Dropdown Multiselect</title>
2929
</head>
3030

3131
<body>
3232
<header>
3333
<div class="inner">
34-
<a href="https://github.com/myforce/angularjs-dropdown-multiselect" class="btn btn-info pull-right gh-button-link">
34+
<a href="https://github.com/dotansimha/angularjs-dropdown-multiselect" class="btn btn-info pull-right gh-button-link">
3535
<strong>
3636
View project on
3737
<br />GitHub
@@ -50,10 +50,6 @@ <h2>based on Bootstrap's dropdown</h2>
5050
</div>
5151
<footer>
5252
<div class="inner">
53-
<a href="http://www.myforce.be/" class="pull-right">
54-
<img src="./pages/images/myforcelogokleur.png" />
55-
</a>
56-
<p>Contributed by MyForce NV</p>
5753
<p>This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the Architect theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
5854
</div>
5955
</footer>

package.json

+38-38
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
{
2-
"author": "[email protected]",
3-
"name": "angularjs-dropdown-multiselect",
4-
"version": "1.10.2",
5-
"description": "This directive gives you a Bootstrap Dropdown with the power of AngularJS directives.",
6-
"homepage": "http://myforce.github.io/angularjs-dropdown-multiselect/#/",
7-
"dependencies": {
8-
"angular": "~1"
9-
},
10-
"devDependencies": {
11-
"express": "~3.4.4",
12-
"grunt": "^0.4.5",
13-
"grunt-build-control": "^0.1.3",
14-
"grunt-contrib-concat": "~0.3.0",
15-
"grunt-contrib-cssmin": "~0.7.0",
16-
"grunt-contrib-jshint": "~0.7.0",
17-
"grunt-contrib-less": "~0.8.1",
18-
"grunt-contrib-uglify": "~0.2.5",
19-
"grunt-karma": "~0.6.2"
20-
},
21-
"scripts": {
22-
"test": "echo \"Error: no test specified\" && exit 1"
23-
},
24-
"repository": {
25-
"type": "git",
26-
"url": "git+https://github.com/myforce/angularjs-dropdown-multiselect.git"
27-
},
28-
"engines": {
29-
"node": "0.10.10"
30-
},
31-
"main": "src/angularjs-dropdown-multiselect.js",
32-
"keywords": [
33-
"angular",
34-
"multiselect"
35-
],
36-
"license": "MIT",
37-
"bugs": {
38-
"url": "https://github.com/myforce/angularjs-dropdown-multiselect/issues"
39-
}
2+
"author": "[email protected]",
3+
"name": "angularjs-dropdown-multiselect",
4+
"version": "1.11.0",
5+
"description": "This directive gives you a Bootstrap Dropdown with the power of AngularJS directives.",
6+
"homepage": "http://dotansimha.github.io/angularjs-dropdown-multiselect/#/",
7+
"dependencies": {
8+
"angular": "~1"
9+
},
10+
"devDependencies": {
11+
"express": "~3.4.4",
12+
"grunt": "^0.4.5",
13+
"grunt-build-control": "^0.1.3",
14+
"grunt-contrib-concat": "~0.3.0",
15+
"grunt-contrib-cssmin": "~0.7.0",
16+
"grunt-contrib-jshint": "~0.7.0",
17+
"grunt-contrib-less": "~0.8.1",
18+
"grunt-contrib-uglify": "~0.2.5",
19+
"grunt-karma": "~0.6.2"
20+
},
21+
"scripts": {
22+
"test": "echo \"Error: no test specified\" && exit 1"
23+
},
24+
"repository": {
25+
"type": "git",
26+
"url": "git+https://github.com/dotansimha/angularjs-dropdown-multiselect.git"
27+
},
28+
"engines": {
29+
"node": "0.10.10"
30+
},
31+
"main": "src/angularjs-dropdown-multiselect.js",
32+
"keywords": [
33+
"angular",
34+
"multiselect"
35+
],
36+
"license": "MIT",
37+
"bugs": {
38+
"url": "https://github.com/dotansimha/angularjs-dropdown-multiselect/issues"
39+
}
4040
}

pages/images/myforcelogokleur.png

-3.41 KB
Binary file not shown.

pages/javascripts/pages/home/home.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ <h2 style="margin-bottom: 0">What is AngularJS Dropdown Multiselect?</h2>
1212
<h2 style="margin-bottom: 0">Download</h2>
1313
There are several options to do that:
1414
<ol>
15-
<li>Using bower: `bower install myforce-angular-dropdown-multiselect`</li>
15+
<li>Using bower: `bower install angular-dropdown-multiselect`</li>
1616
<li>
17-
Download the .zip file from <a href="https://github.com/myforce/angularjs-dropdown-multiselect/zipball/master">here</a>
17+
Download the .zip file from <a href="https://github.com/dotansimha/angularjs-dropdown-multiselect/zipball/master">here</a>
1818
</li>
1919
<li>
20-
Using it from GitHub raw using <a href="https://rawgit.com/myforce/angularjs-dropdown-multiselect/master/src/angularjs-dropdown-multiselect.js">this link</a>
20+
Using it from GitHub raw using <a href="https://rawgit.com/dotansimha/angularjs-dropdown-multiselect/master/src/angularjs-dropdown-multiselect.js">this link</a>
2121
</li>
2222
</ol>
2323
</div>

src/angularjs-dropdown-multiselect.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
var directiveModule = angular.module('angularjs-dropdown-multiselect', []);
66

7-
directiveModule.directive('mfDropdownStaticInclude', ['$compile', function($compile) {
7+
directiveModule.directive('dmDropdownStaticInclude', ['$compile', function($compile) {
88
return function(scope, element, attrs) {
9-
var template = attrs.mfDropdownStaticInclude;
9+
var template = attrs.dmDropdownStaticInclude;
1010
var contents = element.html(template).contents();
1111
$compile(contents)(scope);
1212
};
@@ -54,9 +54,9 @@ directiveModule.directive('ngDropdownMultiselect', ['$filter', '$document', '$co
5454
template += '<a ng-keydown="option.disabled || keyDownLink($event)" role="menuitem" class="option" tabindex="-1" ng-click="option.disabled || setSelectedItem(getPropertyForObject(option,settings.idProp), false, true)" ng-disabled="option.disabled">';
5555

5656
if (checkboxes) {
57-
template += '<div class="checkbox"><label><input class="checkboxInput" type="checkbox" ng-click="checkboxClick($event, getPropertyForObject(option,settings.idProp))" ng-checked="isChecked(getPropertyForObject(option,settings.idProp))" /> <span mf-dropdown-static-include="{{settings.template}}"></div></label></span></a>';
57+
template += '<div class="checkbox"><label><input class="checkboxInput" type="checkbox" ng-click="checkboxClick($event, getPropertyForObject(option,settings.idProp))" ng-checked="isChecked(getPropertyForObject(option,settings.idProp))" /> <span dm-dropdown-static-include="{{settings.template}}"></div></label></span></a>';
5858
} else {
59-
template += '<span data-ng-class="{\'glyphicon glyphicon-ok\': isChecked(getPropertyForObject(option,settings.idProp))}"> </span> <span mf-dropdown-static-include="{{settings.template}}"></span></a>';
59+
template += '<span data-ng-class="{\'glyphicon glyphicon-ok\': isChecked(getPropertyForObject(option,settings.idProp))}"> </span> <span dm-dropdown-static-include="{{settings.template}}"></span></a>';
6060
}
6161

6262
template += '</li>';

0 commit comments

Comments
 (0)