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

Commit f132547

Browse files
committed
some little fixes
1 parent 5bbae96 commit f132547

File tree

5 files changed

+397
-330
lines changed

5 files changed

+397
-330
lines changed

dist/angularjs-dropdown-multiselect.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pages/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
<script>
1313
var staticPath = '/angularjs-dropdown-multiselect/';
1414
</script>
15-
15+
<style>
16+
.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }
17+
</style>
1618

1719

1820
<!--[if lt IE 9]>
@@ -50,6 +52,8 @@ <h2>based on Bootstrap's dropdown</h2>
5052
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"></script>
5153
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.0/highlight.min.js"></script>
5254
<script type="text/javascript" src="https://rawgit.com/pc035860/angular-highlightjs/master/angular-highlightjs.js"></script>
55+
<script type="text/javascript"
56+
src="http://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.10.0/ui-bootstrap-tpls.js"></script>
5357

5458
<script type="text/javascript"
5559
src="https://rawgit.com/dotansimha/angularjs-dropdown-multiselect/master/src/angularjs-dropdown-multiselect.js"></script>

pages/javascripts/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
angular.module('exampleApp', [
44
'ngRoute',
55
'angularjs-dropdown-multiselect',
6-
'hljs'
6+
'hljs',
7+
'ui.bootstrap'
78
]).
89
config(['$routeProvider', '$locationProvider', '$compileProvider',
910
function($routeProvider, $locationProvider) {

pages/javascripts/pages/home/ExampleCtrl.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ angular.module('exampleApp').controller('ExampleCtrl', ['$scope', function($scop
7373

7474
$scope.example10settings = {selectionLimit: 2};
7575

76+
$scope.example12model = [];
77+
$scope.example12data = [
78+
{id: 1, label: "David"},
79+
{id: 2, label: "Jhon"},
80+
{id: 3, label: "Danny"}];
81+
82+
$scope.example12settings = {selectionLimit: 1};
83+
7684

7785
$scope.example11model = [];
7886
$scope.example11data = [

0 commit comments

Comments
 (0)