apostrophe-schemas
Advanced tools
Comparing version 0.5.4 to 0.5.5
var async = require('async'); | ||
var _ = require('underscore'); | ||
var _ = require('lodash'); | ||
var extend = require('extend'); | ||
@@ -4,0 +4,0 @@ var fs = require('fs'); |
{ | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"name": "apostrophe-schemas", | ||
@@ -29,6 +29,6 @@ "description": "Schemas for easy editing of properties in Apostrophe objects", | ||
"async": "~0.2.9", | ||
"underscore": "~1.5.2", | ||
"lodash": "2.4.x", | ||
"extend": "~1.2.1", | ||
"moment": "~2.4.0" | ||
} | ||
} | ||
} |
@@ -146,11 +146,3 @@ function AposSchemas() { | ||
var $property = $el.find('[data-' + name + '-edit-view]'); | ||
// Supports both "alwaysEditing" editors like apostrophe-editor-2 | ||
// and classic editors that don't use an apos-area wrapper when | ||
// editing virtual areas in a snippet | ||
var $editor = $property.find('.apos-editor:first'); | ||
if ($editor.length) { | ||
return apos.stringifyArea($editor); | ||
} else { | ||
return apos.stringifyArea($property.find('.apos-area:first')); | ||
} | ||
return apos.stringifyArea($property.find('.apos-area:first')); | ||
}; | ||
@@ -157,0 +149,0 @@ |
70430
869
+ Addedlodash@2.4.x
+ Addedlodash@2.4.2(transitive)
- Removedunderscore@~1.5.2
- Removedunderscore@1.5.2(transitive)