Skip to content

Commit

Permalink
chore(dependency) Specify Angular 1.3 as angular-ui apparently has pr…
Browse files Browse the repository at this point in the history
  • Loading branch information
mchapman committed Jun 2, 2015
1 parent d16057a commit 88c0d50
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 13 deletions.
10 changes: 5 additions & 5 deletions bower.json
Expand Up @@ -18,16 +18,16 @@
"dist/forms-angular.js"
],
"dependencies": {
"angular": ">=1.3.0",
"angular-sanitize": ">=1.3.0",
"angular-messages": ">=1.3.0",
"angular": "~1.3",
"angular-sanitize": "~1.3",
"angular-messages": "~1.3",
"angular-ui-bootstrap-bower": ">=0.8.0",
"underscore": "1.8.2",
"ngInfiniteScroll": "^1.2",
"angular-elastic": "~2"
},
"devDependencies": {
"angular-mocks": ">=1.3.0",
"angular-mocks": "~1.3",
"bootstrap-3-1-1": "git://github.com/twbs/bootstrap.git#v3.1.1",
"bootstrap-2-3-2": "git://github.com/twbs/bootstrap.git#v2.3.2"
},
Expand All @@ -44,6 +44,6 @@
"package.json"
],
"resolutions": {
"angular": ">=1.3.0"
"angular": "~1.3"
}
}
4 changes: 2 additions & 2 deletions dist/forms-angular-with-bs2.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/forms-angular-with-bs3.css

Large diffs are not rendered by default.

17 changes: 13 additions & 4 deletions server/data_form.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion server/data_form.ts
Expand Up @@ -79,6 +79,9 @@ DataForm.prototype.getListFields = function (resource, doc) {
if (listFields) {
for (; listElement < listFields.length; listElement++) {
if (typeof doc[listFields[listElement].field] !== 'undefined') {



display += doc[listFields[listElement].field] + ' ';
}
}
Expand Down Expand Up @@ -153,7 +156,7 @@ DataForm.prototype.addResource = function (resourceName, model, options) {
}
}

extend(resource.options, this.preprocess(resource.model.schema.paths, null));
extend(resource.options, this.preprocess(resource.model.schema['paths'], null));

if (resource.options.searchImportance) {
this.searchFunc = async.forEachSeries;
Expand Down

0 comments on commit 88c0d50

Please sign in to comment.