angular-json-edit
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "angular-json-edit", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"homepage": "https://github.com/Rleahy22/angularJsonEditor", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -42,7 +42,12 @@ (function() { | ||
scope.nest = '<button class="json-delete json-button" ng-click="deleteProperty(key, parent)">×</button>' + | ||
'<label ng-hide="isArray(parent)" class="json-form-element">' + | ||
'{{key}}:' + | ||
'<span ng-show="isNested(value) && isArray(value)">[</span>' + | ||
'<span ng-show="isNested(value) && !isArray(value)">{</span>' + | ||
'</label>' + | ||
'<div class="label-wrapper">' + | ||
'<label ng-hide="isArray(parent)" class="json-form-element">' + | ||
'{{key}}:' + | ||
'<span ng-show="isNested(value) && isArray(value)">[</span>' + | ||
'<span ng-show="isNested(value) && !isArray(value)">{</span>' + | ||
'</label>' + | ||
'<div ng-if="!isNested(value)" class="json-form-element">' + | ||
'<input type="{{getInputType(value)}}" name="{{key}}" ng-model="parent[key]" class="json-input" required>' + | ||
'</div>' + | ||
'</div>' + | ||
'<label ng-show="isNested(value) && !isArray(value) && isArray(parent)" class="json-form-element">{</label>' + | ||
@@ -53,5 +58,2 @@ '<div ng-if="isNested(value)" class="nested-json">' + | ||
'</div>' + | ||
'<div ng-if="!isNested(value)" class="json-form-element">' + | ||
'<input type="{{getInputType(value)}}" name="{{key}}" ng-model="parent[key]" class="json-input" required>' + | ||
'</div>' + | ||
'<div json-editor-add-property class="json-new-property" object="value" newProperty="{}" class="" ng-show="isNested(value)">' + | ||
@@ -58,0 +60,0 @@ '</div>' + |
{ | ||
"name": "angular-json-edit", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Infinitely nesting JSON editor for Angular with no dependencies", | ||
@@ -5,0 +5,0 @@ "main": "dist/angularJsonEdit.js", |
@@ -14,4 +14,4 @@ # angularJsonEdit | ||
```html | ||
<script src="bower_components/angularJsonEdit/dist/angularJsonEdit.js"></script> | ||
<link rel="stylesheet" href="bower_components/angularJsonEdit/dist/styles/jsonEditor.css"> | ||
<script src="bower_components/angular-json-edit/dist/angularJsonEdit.js"></script> | ||
<link rel="stylesheet" href="bower_components/angular-json-edit/dist/styles/jsonEditor.css"> | ||
``` | ||
@@ -18,0 +18,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34190
716