Sfoglia il codice sorgente

Added utils.isObject.

fredck 10 anni fa
parent
commit
3acbfc4c5c

+ 1 - 1
packages/ckeditor5-utils/src/lib/lodash/lodash-ckeditor.js

@@ -1,7 +1,7 @@
 /**
  * @license
  * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
- * Build: `lodash modern exports="amd" include="extend" --debug --output src/lib/lodash/lodash-ckeditor.js`
+ * Build: `lodash modern exports="amd" include="extend,isObject" --debug --output src/lib/lodash/lodash-ckeditor.js`
  * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
  * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
  * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors

+ 9 - 1
packages/ckeditor5-utils/src/utils-lodash.js

@@ -23,7 +23,15 @@
 		 * @member utils
 		 * @method extend
 		 */
-		'extend'
+		'extend',
+
+		/**
+		 * See Lo-Dash: https://lodash.com/docs#isObject
+		 *
+		 * @member utils
+		 * @method isObject
+		 */
+		'isObject'
 	];
 
 	// Make this compatible with CommonJS as well so it can be used in Node (e.g. "grunt lodash").