Skip to content
This repository has been archived by the owner on Aug 24, 2017. It is now read-only.

Commit

Permalink
Merge pull request #11 from boneskull/master
Browse files Browse the repository at this point in the history
upping to 2.6 after fixing recursive error. updating docs a bit
  • Loading branch information
Christopher Hiller committed Sep 20, 2013
2 parents b1ac21e + 954560e commit b8cf323
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 49 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ Pure AngularJS tagging widget with typeahead support courtesy of [ui-bootstrap](
Current Version
---------------
```
0.2.5
0.2.6
```


Installation
------------

```
bower install angular-tags
```
Expand All @@ -22,6 +20,8 @@ Requirements

- [AngularJS](http://angularjs.org)
- [ui-bootstrap](http://angular-ui.github.io/bootstrap) (ui.bootstrap.typeahead module)
- [Bootstrap CSS](http://getbootstrap.com) (optional)
- [Font Awesome](http://fortawesome.github.io/Font-Awesome/) (optional)

Running Tests
-------------
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-tags",
"version": "0.2.5",
"main": "dist/angular-tags-0.2.4.js",
"version": "0.2.6",
"main": "dist/angular-tags-0.2.6.js",
"dependencies": {
"angular-ui-bootstrap-bower": "~0.6.0",
"angular": "1.2.0-rc.2",
Expand Down
2 changes: 0 additions & 2 deletions dist/angular-tags-0.2.5-tpls.min.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ angular.module("templates/tag.html", []).run(["$templateCache", function($templa
source,
tags,
group,
value,
i,
srcWatch,
model,
Expand Down Expand Up @@ -512,24 +511,18 @@ angular.module("templates/tag.html", []).run(["$templateCache", function($templa
locals[srcResult.itemName] = source[i];
obj = {};
obj.value = srcResult.modelMapper(scope.$parent, locals);
if (obj.value.group || obj.value.value) {
group = obj.value.group;
value = obj.value.value;
}
else {
value = obj.value;
}
o = {};
if (angular.isObject(obj.value)) {
o = angular.extend(obj.value, {
name: srcResult.viewMapper(scope.$parent, locals),
value: value,
group: group
value: obj.value.value,
group: obj.value.group
});
} else {
}
else {
o = {
name: srcResult.viewMapper(scope.$parent, locals),
value: value,
value: obj.value,
group: group
};
}
Expand Down
Loading

0 comments on commit b8cf323

Please sign in to comment.