1
1
/**
2
2
* @author Jason Dobry <[email protected] >
3
3
* @file angular-data.js
4
- * @version 1.0.0-beta.4 - Homepage <http://angular-data.pseudobry.com/>
4
+ * @version 1.0.0-rc.1 - Homepage <http://angular-data.pseudobry.com/>
5
5
* @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/>
6
6
* @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE>
7
7
*
8
8
* @overview Data store for Angular.js.
9
9
*/
10
- ( function e ( t , n , r ) { function s ( o , u ) { if ( ! n [ o ] ) { if ( ! t [ o ] ) { var a = typeof require == "function" && require ; if ( ! u && a ) return a ( o , ! 0 ) ; if ( i ) return i ( o , ! 0 ) ; throw new Error ( "Cannot find module '" + o + "'" ) } var f = n [ o ] = { exports :{ } } ; t [ o ] [ 0 ] . call ( f . exports , function ( e ) { var n = t [ o ] [ 1 ] [ e ] ; return s ( n ?n :e ) } , f , f . exports , e , t , n , r ) } return n [ o ] . exports } var i = typeof require == "function" && require ; for ( var o = 0 ; o < r . length ; o ++ ) s ( r [ o ] ) ; return s } ) ( { 1 :[ function ( require , module , exports ) {
10
+ ( function e ( t , n , r ) { function s ( o , u ) { if ( ! n [ o ] ) { if ( ! t [ o ] ) { var a = typeof require == "function" && require ; if ( ! u && a ) return a ( o , ! 0 ) ; if ( i ) return i ( o , ! 0 ) ; var f = new Error ( "Cannot find module '" + o + "'" ) ; throw f . code = "MODULE_NOT_FOUND" , f } var l = n [ o ] = { exports :{ } } ; t [ o ] [ 0 ] . call ( l . exports , function ( e ) { var n = t [ o ] [ 1 ] [ e ] ; return s ( n ?n :e ) } , l , l . exports , e , t , n , r ) } return n [ o ] . exports } var i = typeof require == "function" && require ; for ( var o = 0 ; o < r . length ; o ++ ) s ( r [ o ] ) ; return s } ) ( { 1 :[ function ( require , module , exports ) {
11
11
// Copyright 2012 Google Inc.
12
12
//
13
13
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -924,18 +924,18 @@ var isArray = require('./isArray');
924
924
function isEmpty ( val ) {
925
925
if ( val == null ) {
926
926
// typeof null == 'object' so we check it first
927
- return false ;
927
+ return true ;
928
928
} else if ( typeof val === 'string' || isArray ( val ) ) {
929
929
return ! val . length ;
930
- } else if ( typeof val === 'object' || typeof val === 'function' ) {
930
+ } else if ( typeof val === 'object' ) {
931
931
var result = true ;
932
932
forOwn ( val , function ( ) {
933
933
result = false ;
934
934
return false ; // break loop
935
935
} ) ;
936
936
return result ;
937
937
} else {
938
- return false ;
938
+ return true ;
939
939
}
940
940
}
941
941
@@ -6654,7 +6654,7 @@ module.exports = [function () {
6654
6654
* @id angular-data
6655
6655
* @name angular-data
6656
6656
* @description
6657
- * __Version:__ 1.0.0-beta.4
6657
+ * __Version:__ 1.0.0-rc.1
6658
6658
*
6659
6659
* ## Install
6660
6660
*
@@ -6818,4 +6818,4 @@ module.exports = [function () {
6818
6818
} ;
6819
6819
} ] ;
6820
6820
6821
- } , { "mout/array/contains" :2 , "mout/array/filter" :3 , "mout/array/slice" :7 , "mout/array/sort" :8 , "mout/array/toLookup" :9 , "mout/lang/isBoolean" :14 , "mout/lang/isEmpty" :15 , "mout/object/deepMixIn" :22 , "mout/object/forOwn" :24 , "mout/object/pick" :27 , "mout/object/set" :28 , "mout/string/makePath" :31 , "mout/string/pascalCase" :32 , "mout/string/upperCase" :35 } ] } , { } , [ 72 ] ) ;
6821
+ } , { "mout/array/contains" :2 , "mout/array/filter" :3 , "mout/array/slice" :7 , "mout/array/sort" :8 , "mout/array/toLookup" :9 , "mout/lang/isBoolean" :14 , "mout/lang/isEmpty" :15 , "mout/object/deepMixIn" :22 , "mout/object/forOwn" :24 , "mout/object/pick" :27 , "mout/object/set" :28 , "mout/string/makePath" :31 , "mout/string/pascalCase" :32 , "mout/string/upperCase" :35 } ] } , { } , [ 72 ] ) ;
0 commit comments