Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Angular 1.2.x support
Browse files Browse the repository at this point in the history
    Fixed #106
    Fixed #107
    Fixed #108
    Fixed #110
  • Loading branch information
Dean Sofer committed Nov 22, 2013
1 parent fd5c3d6 commit 6b20bd7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
],
"main": "./src/select2.js",
"dependencies": {
"angular": ">=1.0.2 <1.2",
"angular": ">=1.0.2",
"select2": "~3.4",
"jquery": ">=1.6.4"
},
"devDependencies": {
"angular-mocks": ">=1.0.2 <1.2"
"angular-mocks": ">=1.0.2"
}
}
9 changes: 9 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ <h3>Demo</h3>
<option value="three">Third</option>
</select>
</div>

<div class="well">
<p>Value is: {{select2multiple}} <a ng-click="select2multiple=['two']">(choose second)</a></p>
<select ui-select2 ng-model="select2multiple" data-placeholder="Pick a number" multiple>
<option value="one">First</option>
<option value="two">Second</option>
<option value="three">Third</option>
</select>
</div>
</div>
<div class="span6">
<h3>Options</h3>
Expand Down
1 change: 1 addition & 0 deletions src/select2.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ angular.module('ui.select2', []).value('uiSelect2Config', {}).directive('uiSelec
}
return {
require: 'ngModel',
priority: 1,
compile: function (tElm, tAttrs) {
var watch,
repeatOption,
Expand Down

0 comments on commit 6b20bd7

Please sign in to comment.