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

Commit

Permalink
Remove MyForce references and update versions to be higher than myfor…
Browse files Browse the repository at this point in the history
…ce-angularjs-dropdown-multiselect
  • Loading branch information
pkempenaers committed Feb 10, 2017
1 parent e48d126 commit 0ba8c67
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 67 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# AngularJS Dropdown Multiselect
[![CDNJS](https://img.shields.io/cdnjs/v/myforce-angularjs-dropdown-multiselect.svg)](https://cdnjs.com/libraries/myforce-angularjs-dropdown-multiselect)

This directive gives you a Bootstrap Dropdown with the power of AngularJS directives.

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

## Demo
http://myforce.github.io/angularjs-dropdown-multiselect/
http://dotansimha.github.io/angularjs-dropdown-multiselect/

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

Just run `bower install myforce-angularjs-dropdown-multiselect`
Just run `bower install angularjs-dropdown-multiselect`
2. Using npm :
Just run `npm install angularjs-dropdown-multiselect`
3. Manually:
Expand All @@ -43,4 +41,4 @@ http://myforce.github.io/angularjs-dropdown-multiselect/

## Usage and Documentation
See the documentation and examples in the GitHub pages:
http://myforce.github.io/angularjs-dropdown-multiselect/
http://dotansimha.github.io/angularjs-dropdown-multiselect/
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "myforce-angularjs-dropdown-multiselect",
"version": "1.10.2",
"name": "angularjs-dropdown-multiselect",
"version": "1.11.0",
"authors": [
"Dotan Simha <[email protected]>",
"Pieter Kempenaers <[email protected]>"
Expand Down
10 changes: 3 additions & 7 deletions development_index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html ng-app="exampleApp">

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

<title>AngularJS Dropdown Multiselect by MyForce</title>
<title>AngularJS Dropdown Multiselect</title>
</head>

<body>
<header>
<div class="inner">
<a href="https://github.com/myforce/angularjs-dropdown-multiselect" class="btn btn-info pull-right gh-button-link">
<a href="https://github.com/dotansimha/angularjs-dropdown-multiselect" class="btn btn-info pull-right gh-button-link">
<strong>
View project on
<br />GitHub
Expand All @@ -50,10 +50,6 @@ <h2>based on Bootstrap's dropdown</h2>
</div>
<footer>
<div class="inner">
<a href="http://www.myforce.be/" class="pull-right">
<img src="./pages/images/myforcelogokleur.png" />
</a>
<p>Contributed by MyForce NV</p>
<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>.
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion dist/angularjs-dropdown-multiselect.min.js

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<title>AngularJS Dropdown Multiselect by MyForce</title>
<title>AngularJS Dropdown Multiselect</title>
</head>

<body>
<header>
<div class="inner">
<a href="https://github.com/myforce/angularjs-dropdown-multiselect" class="btn btn-info pull-right gh-button-link">
<a href="https://github.com/dotansimha/angularjs-dropdown-multiselect" class="btn btn-info pull-right gh-button-link">
<strong>
View project on
<br />GitHub
Expand All @@ -50,10 +50,6 @@ <h2>based on Bootstrap's dropdown</h2>
</div>
<footer>
<div class="inner">
<a href="http://www.myforce.be/" class="pull-right">
<img src="./pages/images/myforcelogokleur.png" />
</a>
<p>Contributed by MyForce NV</p>
<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>.
</div>
</footer>
Expand Down
76 changes: 38 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"author": "[email protected]",
"name": "angularjs-dropdown-multiselect",
"version": "1.10.2",
"description": "This directive gives you a Bootstrap Dropdown with the power of AngularJS directives.",
"homepage": "http://myforce.github.io/angularjs-dropdown-multiselect/#/",
"dependencies": {
"angular": "~1"
},
"devDependencies": {
"express": "~3.4.4",
"grunt": "^0.4.5",
"grunt-build-control": "^0.1.3",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-cssmin": "~0.7.0",
"grunt-contrib-jshint": "~0.7.0",
"grunt-contrib-less": "~0.8.1",
"grunt-contrib-uglify": "~0.2.5",
"grunt-karma": "~0.6.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/myforce/angularjs-dropdown-multiselect.git"
},
"engines": {
"node": "0.10.10"
},
"main": "src/angularjs-dropdown-multiselect.js",
"keywords": [
"angular",
"multiselect"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/myforce/angularjs-dropdown-multiselect/issues"
}
"author": "[email protected]",
"name": "angularjs-dropdown-multiselect",
"version": "1.11.0",
"description": "This directive gives you a Bootstrap Dropdown with the power of AngularJS directives.",
"homepage": "http://dotansimha.github.io/angularjs-dropdown-multiselect/#/",
"dependencies": {
"angular": "~1"
},
"devDependencies": {
"express": "~3.4.4",
"grunt": "^0.4.5",
"grunt-build-control": "^0.1.3",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-cssmin": "~0.7.0",
"grunt-contrib-jshint": "~0.7.0",
"grunt-contrib-less": "~0.8.1",
"grunt-contrib-uglify": "~0.2.5",
"grunt-karma": "~0.6.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dotansimha/angularjs-dropdown-multiselect.git"
},
"engines": {
"node": "0.10.10"
},
"main": "src/angularjs-dropdown-multiselect.js",
"keywords": [
"angular",
"multiselect"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/dotansimha/angularjs-dropdown-multiselect/issues"
}
}
Binary file removed pages/images/myforcelogokleur.png
Binary file not shown.
6 changes: 3 additions & 3 deletions pages/javascripts/pages/home/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ <h2 style="margin-bottom: 0">What is AngularJS Dropdown Multiselect?</h2>
<h2 style="margin-bottom: 0">Download</h2>
There are several options to do that:
<ol>
<li>Using bower: `bower install myforce-angular-dropdown-multiselect`</li>
<li>Using bower: `bower install angular-dropdown-multiselect`</li>
<li>
Download the .zip file from <a href="https://github.com/myforce/angularjs-dropdown-multiselect/zipball/master">here</a>
Download the .zip file from <a href="https://github.com/dotansimha/angularjs-dropdown-multiselect/zipball/master">here</a>
</li>
<li>
Using it from GitHub raw using <a href="https://rawgit.com/myforce/angularjs-dropdown-multiselect/master/src/angularjs-dropdown-multiselect.js">this link</a>
Using it from GitHub raw using <a href="https://rawgit.com/dotansimha/angularjs-dropdown-multiselect/master/src/angularjs-dropdown-multiselect.js">this link</a>
</li>
</ol>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/angularjs-dropdown-multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

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

directiveModule.directive('mfDropdownStaticInclude', ['$compile', function($compile) {
directiveModule.directive('dmDropdownStaticInclude', ['$compile', function($compile) {
return function(scope, element, attrs) {
var template = attrs.mfDropdownStaticInclude;
var template = attrs.dmDropdownStaticInclude;
var contents = element.html(template).contents();
$compile(contents)(scope);
};
Expand Down Expand Up @@ -54,9 +54,9 @@ directiveModule.directive('ngDropdownMultiselect', ['$filter', '$document', '$co
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">';

if (checkboxes) {
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>';
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>';
} else {
template += '<span data-ng-class="{\'glyphicon glyphicon-ok\': isChecked(getPropertyForObject(option,settings.idProp))}"> </span> <span mf-dropdown-static-include="{{settings.template}}"></span></a>';
template += '<span data-ng-class="{\'glyphicon glyphicon-ok\': isChecked(getPropertyForObject(option,settings.idProp))}"> </span> <span dm-dropdown-static-include="{{settings.template}}"></span></a>';
}

template += '</li>';
Expand Down

0 comments on commit 0ba8c67

Please sign in to comment.