fluxxor-rails 1.1.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fluxxor-rails/version.rb +1 -1
- data/test/dummy/log/test.log +5 -0
- data/test/dummy/tmp/cache/assets/C4E/EE0/sprockets%2F68de70436326426a3329c3b58b59b106 +0 -0
- data/test/dummy/tmp/cache/assets/DC6/C40/sprockets%2F2617ffa3fab6631cdff29bbf623e2d12 +0 -0
- data/test/dummy/tmp/cache/assets/DCC/260/sprockets%2F7c5104b0d6ae29c2ec84168e5cacf8fb +0 -0
- data/vendor/assets/javascripts/fluxxor.js +395 -386
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4006ef2d26cc426519d053bc497b7e7a69cf154
|
4
|
+
data.tar.gz: 07b0601a7f5e73dc8042b928f767f9d6b01d733f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d84a94895664af5be5e616e2db35ba31e73db7e4aaa0bd37226a32baa6db47ec4aa182842e933b6aae1368c66bcefaf0bd2cd409af5eed206e6e010abeb9d42
|
7
|
+
data.tar.gz: ac373059868265cb9f24a99332919c40dd3f189031e39d8713530aecc3dd0c174733fce4f80de50c103e99f2c1a172367bd30edba0e3065b21619dc66a88e0ea
|
data/test/dummy/log/test.log
CHANGED
@@ -46,3 +46,8 @@ Compiled fluxxor.js (1ms) (pid 13207)
|
|
46
46
|
Served asset /fluxxor.js - 200 OK (7ms)
|
47
47
|
Started GET "/assets/fluxxor.js" for 127.0.0.1 at 2015-09-23 13:47:45 -0500
|
48
48
|
Served asset /fluxxor.js - 200 OK (0ms)
|
49
|
+
Started GET "/assets/fluxxor.js" for 127.0.0.1 at 2015-09-23 13:48:22 -0500
|
50
|
+
Compiled fluxxor.js (1ms) (pid 13762)
|
51
|
+
Served asset /fluxxor.js - 200 OK (9ms)
|
52
|
+
Started GET "/assets/fluxxor.js" for 127.0.0.1 at 2015-09-23 13:48:22 -0500
|
53
|
+
Served asset /fluxxor.js - 200 OK (0ms)
|
Binary file
|
Binary file
|
Binary file
|
@@ -79,20 +79,20 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
79
79
|
/* 1 */
|
80
80
|
/***/ function(module, exports, __webpack_require__) {
|
81
81
|
|
82
|
-
module.exports = {"name":"fluxxor","version":"1.
|
82
|
+
module.exports = {"name":"fluxxor","version":"1.2.0","description":"Flux architecture tools for React","repository":{"type":"git","url":"https://github.com/BinaryMuse/fluxxor.git"},"main":"index.js","scripts":{"test":"npm run jshint && mocha --recursive","jshint":"jsxhint lib/ test/","build":"./script/build-fluxxor && ./script/build-examples","preview-site":"wintersmith preview -C site","build-site":"wintersmith build -C site"},"keywords":["react","flux"],"author":"Brandon Tilley <brandon@brandontilley.com>","license":"MIT","devDependencies":{"chai":"^1.9.1","css-loader":"^0.6.12","envify":"^1.2.1","jsdom":"^0.10.5","json-loader":"^0.5.0","jsx-loader":"^0.10.2","jsxhint":"^0.4.9","less":"^1.7.0","less-loader":"^0.7.3","mocha":"^1.18.2","react":"^0.10.0","sinon":"^1.9.1","sinon-chai":"^2.5.0","style-loader":"^0.6.3","webpack":"^1.1.11","webpack-dev-server":"^1.2.7","wintersmith":"^2.0.10","wintersmith-ejs":"^0.1.4","wintersmith-less":"^0.2.2"},"dependencies":{"lodash-node":"^2.4.1"},"jshintConfig":{"camelcase":true,"curly":true,"eqeqeq":true,"forin":true,"latedef":true,"newcap":false,"undef":true,"unused":true,"trailing":true,"node":true,"browser":true,"predef":["it","describe","beforeEach","afterEach"]}}
|
83
83
|
|
84
84
|
/***/ },
|
85
85
|
/* 2 */
|
86
86
|
/***/ function(module, exports, __webpack_require__) {
|
87
87
|
|
88
|
-
var _clone = __webpack_require__(
|
89
|
-
_mapValues = __webpack_require__(
|
90
|
-
_forOwn = __webpack_require__(
|
88
|
+
var _clone = __webpack_require__(11),
|
89
|
+
_mapValues = __webpack_require__(10),
|
90
|
+
_forOwn = __webpack_require__(12),
|
91
91
|
_intersection = __webpack_require__(15),
|
92
92
|
_keys = __webpack_require__(13),
|
93
|
-
_map = __webpack_require__(
|
93
|
+
_map = __webpack_require__(18),
|
94
94
|
_each = __webpack_require__(17),
|
95
|
-
_size = __webpack_require__(
|
95
|
+
_size = __webpack_require__(19),
|
96
96
|
_findKey = __webpack_require__(14),
|
97
97
|
_uniq = __webpack_require__(16);
|
98
98
|
|
@@ -102,7 +102,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
102
102
|
this.waitingToDispatch = [];
|
103
103
|
|
104
104
|
for (var key in stores) {
|
105
|
-
stores
|
105
|
+
if (stores.hasOwnProperty(key)) {
|
106
|
+
stores[key].dispatcher = this;
|
107
|
+
}
|
106
108
|
}
|
107
109
|
};
|
108
110
|
|
@@ -117,11 +119,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
117
119
|
return { resolved: false, waitingOn: [], waitCallback: null };
|
118
120
|
});
|
119
121
|
|
120
|
-
|
121
|
-
|
122
|
-
|
122
|
+
try {
|
123
|
+
this.doDispatchLoop(action);
|
124
|
+
} finally {
|
123
125
|
this.currentDispatch = null;
|
124
|
-
}
|
126
|
+
}
|
125
127
|
};
|
126
128
|
|
127
129
|
Dispatcher.prototype.doDispatchLoop = function(action) {
|
@@ -224,11 +226,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
224
226
|
this.actions = {};
|
225
227
|
|
226
228
|
for (var key in actions) {
|
227
|
-
|
229
|
+
if (actions.hasOwnProperty(key)) {
|
230
|
+
this.actions[key] = actions[key].bind(dispatchBinder);
|
231
|
+
}
|
228
232
|
}
|
229
233
|
|
230
234
|
for (key in stores) {
|
231
|
-
stores
|
235
|
+
if (stores.hasOwnProperty(key)) {
|
236
|
+
stores[key].flux = this;
|
237
|
+
}
|
232
238
|
}
|
233
239
|
};
|
234
240
|
|
@@ -372,7 +378,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
372
378
|
}
|
373
379
|
}
|
374
380
|
|
375
|
-
if (spec.initialize)
|
381
|
+
if (spec.initialize) {
|
382
|
+
spec.initialize.call(this, options);
|
383
|
+
}
|
376
384
|
};
|
377
385
|
|
378
386
|
util.inherits(constructor, Store);
|
@@ -386,7 +394,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
386
394
|
/* 8 */
|
387
395
|
/***/ function(module, exports, __webpack_require__) {
|
388
396
|
|
389
|
-
var EventEmitter = __webpack_require__(
|
397
|
+
var EventEmitter = __webpack_require__(20).EventEmitter,
|
390
398
|
util = __webpack_require__(9);
|
391
399
|
|
392
400
|
function Store(dispatcher) {
|
@@ -400,10 +408,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
400
408
|
Store.prototype.__handleAction__ = function(action) {
|
401
409
|
var handler;
|
402
410
|
if (!!(handler = this.__actions__[action.type])) {
|
403
|
-
if (typeof handler === "function")
|
411
|
+
if (typeof handler === "function") {
|
404
412
|
handler.call(this, action.payload, action.type);
|
405
|
-
else if (handler && typeof this[handler] === "function")
|
413
|
+
} else if (handler && typeof this[handler] === "function") {
|
406
414
|
this[handler].call(this, action.payload, action.type);
|
415
|
+
}
|
407
416
|
}
|
408
417
|
};
|
409
418
|
|
@@ -1023,6 +1032,70 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1023
1032
|
|
1024
1033
|
/***/ },
|
1025
1034
|
/* 10 */
|
1035
|
+
/***/ function(module, exports, __webpack_require__) {
|
1036
|
+
|
1037
|
+
/**
|
1038
|
+
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
1039
|
+
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
1040
|
+
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
1041
|
+
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
1042
|
+
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
1043
|
+
* Available under MIT license <http://lodash.com/license>
|
1044
|
+
*/
|
1045
|
+
var createCallback = __webpack_require__(37),
|
1046
|
+
forOwn = __webpack_require__(12);
|
1047
|
+
|
1048
|
+
/**
|
1049
|
+
* Creates an object with the same keys as `object` and values generated by
|
1050
|
+
* running each own enumerable property of `object` through the callback.
|
1051
|
+
* The callback is bound to `thisArg` and invoked with three arguments;
|
1052
|
+
* (value, key, object).
|
1053
|
+
*
|
1054
|
+
* If a property name is provided for `callback` the created "_.pluck" style
|
1055
|
+
* callback will return the property value of the given element.
|
1056
|
+
*
|
1057
|
+
* If an object is provided for `callback` the created "_.where" style callback
|
1058
|
+
* will return `true` for elements that have the properties of the given object,
|
1059
|
+
* else `false`.
|
1060
|
+
*
|
1061
|
+
* @static
|
1062
|
+
* @memberOf _
|
1063
|
+
* @category Objects
|
1064
|
+
* @param {Object} object The object to iterate over.
|
1065
|
+
* @param {Function|Object|string} [callback=identity] The function called
|
1066
|
+
* per iteration. If a property name or object is provided it will be used
|
1067
|
+
* to create a "_.pluck" or "_.where" style callback, respectively.
|
1068
|
+
* @param {*} [thisArg] The `this` binding of `callback`.
|
1069
|
+
* @returns {Array} Returns a new object with values of the results of each `callback` execution.
|
1070
|
+
* @example
|
1071
|
+
*
|
1072
|
+
* _.mapValues({ 'a': 1, 'b': 2, 'c': 3} , function(num) { return num * 3; });
|
1073
|
+
* // => { 'a': 3, 'b': 6, 'c': 9 }
|
1074
|
+
*
|
1075
|
+
* var characters = {
|
1076
|
+
* 'fred': { 'name': 'fred', 'age': 40 },
|
1077
|
+
* 'pebbles': { 'name': 'pebbles', 'age': 1 }
|
1078
|
+
* };
|
1079
|
+
*
|
1080
|
+
* // using "_.pluck" callback shorthand
|
1081
|
+
* _.mapValues(characters, 'age');
|
1082
|
+
* // => { 'fred': 40, 'pebbles': 1 }
|
1083
|
+
*/
|
1084
|
+
function mapValues(object, callback, thisArg) {
|
1085
|
+
var result = {};
|
1086
|
+
callback = createCallback(callback, thisArg, 3);
|
1087
|
+
|
1088
|
+
forOwn(object, function(value, key, object) {
|
1089
|
+
result[key] = callback(value, key, object);
|
1090
|
+
});
|
1091
|
+
return result;
|
1092
|
+
}
|
1093
|
+
|
1094
|
+
module.exports = mapValues;
|
1095
|
+
|
1096
|
+
|
1097
|
+
/***/ },
|
1098
|
+
/* 11 */
|
1026
1099
|
/***/ function(module, exports, __webpack_require__) {
|
1027
1100
|
|
1028
1101
|
/**
|
@@ -1091,7 +1164,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1091
1164
|
|
1092
1165
|
|
1093
1166
|
/***/ },
|
1094
|
-
/*
|
1167
|
+
/* 12 */
|
1095
1168
|
/***/ function(module, exports, __webpack_require__) {
|
1096
1169
|
|
1097
1170
|
/**
|
@@ -1146,70 +1219,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1146
1219
|
module.exports = forOwn;
|
1147
1220
|
|
1148
1221
|
|
1149
|
-
/***/ },
|
1150
|
-
/* 12 */
|
1151
|
-
/***/ function(module, exports, __webpack_require__) {
|
1152
|
-
|
1153
|
-
/**
|
1154
|
-
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
1155
|
-
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
1156
|
-
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
1157
|
-
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
1158
|
-
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
1159
|
-
* Available under MIT license <http://lodash.com/license>
|
1160
|
-
*/
|
1161
|
-
var createCallback = __webpack_require__(37),
|
1162
|
-
forOwn = __webpack_require__(11);
|
1163
|
-
|
1164
|
-
/**
|
1165
|
-
* Creates an object with the same keys as `object` and values generated by
|
1166
|
-
* running each own enumerable property of `object` through the callback.
|
1167
|
-
* The callback is bound to `thisArg` and invoked with three arguments;
|
1168
|
-
* (value, key, object).
|
1169
|
-
*
|
1170
|
-
* If a property name is provided for `callback` the created "_.pluck" style
|
1171
|
-
* callback will return the property value of the given element.
|
1172
|
-
*
|
1173
|
-
* If an object is provided for `callback` the created "_.where" style callback
|
1174
|
-
* will return `true` for elements that have the properties of the given object,
|
1175
|
-
* else `false`.
|
1176
|
-
*
|
1177
|
-
* @static
|
1178
|
-
* @memberOf _
|
1179
|
-
* @category Objects
|
1180
|
-
* @param {Object} object The object to iterate over.
|
1181
|
-
* @param {Function|Object|string} [callback=identity] The function called
|
1182
|
-
* per iteration. If a property name or object is provided it will be used
|
1183
|
-
* to create a "_.pluck" or "_.where" style callback, respectively.
|
1184
|
-
* @param {*} [thisArg] The `this` binding of `callback`.
|
1185
|
-
* @returns {Array} Returns a new object with values of the results of each `callback` execution.
|
1186
|
-
* @example
|
1187
|
-
*
|
1188
|
-
* _.mapValues({ 'a': 1, 'b': 2, 'c': 3} , function(num) { return num * 3; });
|
1189
|
-
* // => { 'a': 3, 'b': 6, 'c': 9 }
|
1190
|
-
*
|
1191
|
-
* var characters = {
|
1192
|
-
* 'fred': { 'name': 'fred', 'age': 40 },
|
1193
|
-
* 'pebbles': { 'name': 'pebbles', 'age': 1 }
|
1194
|
-
* };
|
1195
|
-
*
|
1196
|
-
* // using "_.pluck" callback shorthand
|
1197
|
-
* _.mapValues(characters, 'age');
|
1198
|
-
* // => { 'fred': 40, 'pebbles': 1 }
|
1199
|
-
*/
|
1200
|
-
function mapValues(object, callback, thisArg) {
|
1201
|
-
var result = {};
|
1202
|
-
callback = createCallback(callback, thisArg, 3);
|
1203
|
-
|
1204
|
-
forOwn(object, function(value, key, object) {
|
1205
|
-
result[key] = callback(value, key, object);
|
1206
|
-
});
|
1207
|
-
return result;
|
1208
|
-
}
|
1209
|
-
|
1210
|
-
module.exports = mapValues;
|
1211
|
-
|
1212
|
-
|
1213
1222
|
/***/ },
|
1214
1223
|
/* 13 */
|
1215
1224
|
/***/ function(module, exports, __webpack_require__) {
|
@@ -1223,7 +1232,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1223
1232
|
* Available under MIT license <http://lodash.com/license>
|
1224
1233
|
*/
|
1225
1234
|
var isNative = __webpack_require__(27),
|
1226
|
-
isObject = __webpack_require__(
|
1235
|
+
isObject = __webpack_require__(21),
|
1227
1236
|
shimKeys = __webpack_require__(28);
|
1228
1237
|
|
1229
1238
|
/* Native method shortcuts for methods with the same name as other `lodash` methods */
|
@@ -1265,7 +1274,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1265
1274
|
* Available under MIT license <http://lodash.com/license>
|
1266
1275
|
*/
|
1267
1276
|
var createCallback = __webpack_require__(37),
|
1268
|
-
forOwn = __webpack_require__(
|
1277
|
+
forOwn = __webpack_require__(12);
|
1269
1278
|
|
1270
1279
|
/**
|
1271
1280
|
* This method is like `_.findIndex` except that it returns the key of the
|
@@ -1339,8 +1348,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1339
1348
|
cacheIndexOf = __webpack_require__(31),
|
1340
1349
|
createCache = __webpack_require__(32),
|
1341
1350
|
getArray = __webpack_require__(33),
|
1342
|
-
isArguments = __webpack_require__(
|
1343
|
-
isArray = __webpack_require__(
|
1351
|
+
isArguments = __webpack_require__(22),
|
1352
|
+
isArray = __webpack_require__(23),
|
1344
1353
|
largeArraySize = __webpack_require__(34),
|
1345
1354
|
releaseArray = __webpack_require__(35),
|
1346
1355
|
releaseObject = __webpack_require__(36);
|
@@ -1500,7 +1509,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1500
1509
|
* Available under MIT license <http://lodash.com/license>
|
1501
1510
|
*/
|
1502
1511
|
var baseCreateCallback = __webpack_require__(25),
|
1503
|
-
forOwn = __webpack_require__(
|
1512
|
+
forOwn = __webpack_require__(12);
|
1504
1513
|
|
1505
1514
|
/**
|
1506
1515
|
* Iterates over elements of a collection, executing the callback for each
|
@@ -1550,48 +1559,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1550
1559
|
|
1551
1560
|
/***/ },
|
1552
1561
|
/* 18 */
|
1553
|
-
/***/ function(module, exports, __webpack_require__) {
|
1554
|
-
|
1555
|
-
/**
|
1556
|
-
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
1557
|
-
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
1558
|
-
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
1559
|
-
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
1560
|
-
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
1561
|
-
* Available under MIT license <http://lodash.com/license>
|
1562
|
-
*/
|
1563
|
-
var keys = __webpack_require__(13);
|
1564
|
-
|
1565
|
-
/**
|
1566
|
-
* Gets the size of the `collection` by returning `collection.length` for arrays
|
1567
|
-
* and array-like objects or the number of own enumerable properties for objects.
|
1568
|
-
*
|
1569
|
-
* @static
|
1570
|
-
* @memberOf _
|
1571
|
-
* @category Collections
|
1572
|
-
* @param {Array|Object|string} collection The collection to inspect.
|
1573
|
-
* @returns {number} Returns `collection.length` or number of own enumerable properties.
|
1574
|
-
* @example
|
1575
|
-
*
|
1576
|
-
* _.size([1, 2]);
|
1577
|
-
* // => 2
|
1578
|
-
*
|
1579
|
-
* _.size({ 'one': 1, 'two': 2, 'three': 3 });
|
1580
|
-
* // => 3
|
1581
|
-
*
|
1582
|
-
* _.size('pebbles');
|
1583
|
-
* // => 7
|
1584
|
-
*/
|
1585
|
-
function size(collection) {
|
1586
|
-
var length = collection ? collection.length : 0;
|
1587
|
-
return typeof length == 'number' ? length : keys(collection).length;
|
1588
|
-
}
|
1589
|
-
|
1590
|
-
module.exports = size;
|
1591
|
-
|
1592
|
-
|
1593
|
-
/***/ },
|
1594
|
-
/* 19 */
|
1595
1562
|
/***/ function(module, exports, __webpack_require__) {
|
1596
1563
|
|
1597
1564
|
/**
|
@@ -1603,7 +1570,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1603
1570
|
* Available under MIT license <http://lodash.com/license>
|
1604
1571
|
*/
|
1605
1572
|
var createCallback = __webpack_require__(37),
|
1606
|
-
forOwn = __webpack_require__(
|
1573
|
+
forOwn = __webpack_require__(12);
|
1607
1574
|
|
1608
1575
|
/**
|
1609
1576
|
* Creates an array of values by running each element in the collection
|
@@ -1667,7 +1634,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1667
1634
|
|
1668
1635
|
|
1669
1636
|
/***/ },
|
1670
|
-
/*
|
1637
|
+
/* 19 */
|
1671
1638
|
/***/ function(module, exports, __webpack_require__) {
|
1672
1639
|
|
1673
1640
|
/**
|
@@ -1678,138 +1645,38 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1678
1645
|
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
1679
1646
|
* Available under MIT license <http://lodash.com/license>
|
1680
1647
|
*/
|
1681
|
-
var
|
1648
|
+
var keys = __webpack_require__(13);
|
1682
1649
|
|
1683
1650
|
/**
|
1684
|
-
*
|
1685
|
-
*
|
1651
|
+
* Gets the size of the `collection` by returning `collection.length` for arrays
|
1652
|
+
* and array-like objects or the number of own enumerable properties for objects.
|
1686
1653
|
*
|
1687
1654
|
* @static
|
1688
1655
|
* @memberOf _
|
1689
|
-
* @category
|
1690
|
-
* @param {
|
1691
|
-
* @returns {
|
1656
|
+
* @category Collections
|
1657
|
+
* @param {Array|Object|string} collection The collection to inspect.
|
1658
|
+
* @returns {number} Returns `collection.length` or number of own enumerable properties.
|
1692
1659
|
* @example
|
1693
1660
|
*
|
1694
|
-
* _.
|
1695
|
-
* // =>
|
1696
|
-
*
|
1697
|
-
* _.isObject([1, 2, 3]);
|
1698
|
-
* // => true
|
1699
|
-
*
|
1700
|
-
* _.isObject(1);
|
1701
|
-
* // => false
|
1702
|
-
*/
|
1703
|
-
function isObject(value) {
|
1704
|
-
// check if the value is the ECMAScript language type of Object
|
1705
|
-
// http://es5.github.io/#x8
|
1706
|
-
// and avoid a V8 bug
|
1707
|
-
// http://code.google.com/p/v8/issues/detail?id=2291
|
1708
|
-
return !!(value && objectTypes[typeof value]);
|
1709
|
-
}
|
1710
|
-
|
1711
|
-
module.exports = isObject;
|
1712
|
-
|
1713
|
-
|
1714
|
-
/***/ },
|
1715
|
-
/* 21 */
|
1716
|
-
/***/ function(module, exports, __webpack_require__) {
|
1717
|
-
|
1718
|
-
/**
|
1719
|
-
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
1720
|
-
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
1721
|
-
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
1722
|
-
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
1723
|
-
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
1724
|
-
* Available under MIT license <http://lodash.com/license>
|
1725
|
-
*/
|
1726
|
-
|
1727
|
-
/** `Object#toString` result shortcuts */
|
1728
|
-
var argsClass = '[object Arguments]';
|
1729
|
-
|
1730
|
-
/** Used for native method references */
|
1731
|
-
var objectProto = Object.prototype;
|
1732
|
-
|
1733
|
-
/** Used to resolve the internal [[Class]] of values */
|
1734
|
-
var toString = objectProto.toString;
|
1735
|
-
|
1736
|
-
/**
|
1737
|
-
* Checks if `value` is an `arguments` object.
|
1738
|
-
*
|
1739
|
-
* @static
|
1740
|
-
* @memberOf _
|
1741
|
-
* @category Objects
|
1742
|
-
* @param {*} value The value to check.
|
1743
|
-
* @returns {boolean} Returns `true` if the `value` is an `arguments` object, else `false`.
|
1744
|
-
* @example
|
1661
|
+
* _.size([1, 2]);
|
1662
|
+
* // => 2
|
1745
1663
|
*
|
1746
|
-
* (
|
1747
|
-
* // =>
|
1664
|
+
* _.size({ 'one': 1, 'two': 2, 'three': 3 });
|
1665
|
+
* // => 3
|
1748
1666
|
*
|
1749
|
-
* _.
|
1750
|
-
* // =>
|
1667
|
+
* _.size('pebbles');
|
1668
|
+
* // => 7
|
1751
1669
|
*/
|
1752
|
-
function
|
1753
|
-
|
1754
|
-
|
1670
|
+
function size(collection) {
|
1671
|
+
var length = collection ? collection.length : 0;
|
1672
|
+
return typeof length == 'number' ? length : keys(collection).length;
|
1755
1673
|
}
|
1756
1674
|
|
1757
|
-
module.exports =
|
1758
|
-
|
1759
|
-
|
1760
|
-
/***/ },
|
1761
|
-
/* 22 */
|
1762
|
-
/***/ function(module, exports, __webpack_require__) {
|
1763
|
-
|
1764
|
-
/**
|
1765
|
-
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
1766
|
-
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
1767
|
-
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
1768
|
-
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
1769
|
-
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
1770
|
-
* Available under MIT license <http://lodash.com/license>
|
1771
|
-
*/
|
1772
|
-
var isNative = __webpack_require__(27);
|
1773
|
-
|
1774
|
-
/** `Object#toString` result shortcuts */
|
1775
|
-
var arrayClass = '[object Array]';
|
1776
|
-
|
1777
|
-
/** Used for native method references */
|
1778
|
-
var objectProto = Object.prototype;
|
1779
|
-
|
1780
|
-
/** Used to resolve the internal [[Class]] of values */
|
1781
|
-
var toString = objectProto.toString;
|
1782
|
-
|
1783
|
-
/* Native method shortcuts for methods with the same name as other `lodash` methods */
|
1784
|
-
var nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray;
|
1785
|
-
|
1786
|
-
/**
|
1787
|
-
* Checks if `value` is an array.
|
1788
|
-
*
|
1789
|
-
* @static
|
1790
|
-
* @memberOf _
|
1791
|
-
* @type Function
|
1792
|
-
* @category Objects
|
1793
|
-
* @param {*} value The value to check.
|
1794
|
-
* @returns {boolean} Returns `true` if the `value` is an array, else `false`.
|
1795
|
-
* @example
|
1796
|
-
*
|
1797
|
-
* (function() { return _.isArray(arguments); })();
|
1798
|
-
* // => false
|
1799
|
-
*
|
1800
|
-
* _.isArray([1, 2, 3]);
|
1801
|
-
* // => true
|
1802
|
-
*/
|
1803
|
-
var isArray = nativeIsArray || function(value) {
|
1804
|
-
return value && typeof value == 'object' && typeof value.length == 'number' &&
|
1805
|
-
toString.call(value) == arrayClass || false;
|
1806
|
-
};
|
1807
|
-
|
1808
|
-
module.exports = isArray;
|
1675
|
+
module.exports = size;
|
1809
1676
|
|
1810
1677
|
|
1811
1678
|
/***/ },
|
1812
|
-
/*
|
1679
|
+
/* 20 */
|
1813
1680
|
/***/ function(module, exports, __webpack_require__) {
|
1814
1681
|
|
1815
1682
|
// Copyright Joyent, Inc. and other Node contributors.
|
@@ -2075,46 +1942,188 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2075
1942
|
}
|
2076
1943
|
delete this._events[type];
|
2077
1944
|
|
2078
|
-
return this;
|
2079
|
-
};
|
1945
|
+
return this;
|
1946
|
+
};
|
1947
|
+
|
1948
|
+
EventEmitter.prototype.listeners = function(type) {
|
1949
|
+
var ret;
|
1950
|
+
if (!this._events || !this._events[type])
|
1951
|
+
ret = [];
|
1952
|
+
else if (isFunction(this._events[type]))
|
1953
|
+
ret = [this._events[type]];
|
1954
|
+
else
|
1955
|
+
ret = this._events[type].slice();
|
1956
|
+
return ret;
|
1957
|
+
};
|
1958
|
+
|
1959
|
+
EventEmitter.listenerCount = function(emitter, type) {
|
1960
|
+
var ret;
|
1961
|
+
if (!emitter._events || !emitter._events[type])
|
1962
|
+
ret = 0;
|
1963
|
+
else if (isFunction(emitter._events[type]))
|
1964
|
+
ret = 1;
|
1965
|
+
else
|
1966
|
+
ret = emitter._events[type].length;
|
1967
|
+
return ret;
|
1968
|
+
};
|
1969
|
+
|
1970
|
+
function isFunction(arg) {
|
1971
|
+
return typeof arg === 'function';
|
1972
|
+
}
|
1973
|
+
|
1974
|
+
function isNumber(arg) {
|
1975
|
+
return typeof arg === 'number';
|
1976
|
+
}
|
1977
|
+
|
1978
|
+
function isObject(arg) {
|
1979
|
+
return typeof arg === 'object' && arg !== null;
|
1980
|
+
}
|
1981
|
+
|
1982
|
+
function isUndefined(arg) {
|
1983
|
+
return arg === void 0;
|
1984
|
+
}
|
1985
|
+
|
1986
|
+
|
1987
|
+
/***/ },
|
1988
|
+
/* 21 */
|
1989
|
+
/***/ function(module, exports, __webpack_require__) {
|
1990
|
+
|
1991
|
+
/**
|
1992
|
+
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
1993
|
+
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
1994
|
+
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
1995
|
+
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
1996
|
+
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
1997
|
+
* Available under MIT license <http://lodash.com/license>
|
1998
|
+
*/
|
1999
|
+
var objectTypes = __webpack_require__(26);
|
2000
|
+
|
2001
|
+
/**
|
2002
|
+
* Checks if `value` is the language type of Object.
|
2003
|
+
* (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
2004
|
+
*
|
2005
|
+
* @static
|
2006
|
+
* @memberOf _
|
2007
|
+
* @category Objects
|
2008
|
+
* @param {*} value The value to check.
|
2009
|
+
* @returns {boolean} Returns `true` if the `value` is an object, else `false`.
|
2010
|
+
* @example
|
2011
|
+
*
|
2012
|
+
* _.isObject({});
|
2013
|
+
* // => true
|
2014
|
+
*
|
2015
|
+
* _.isObject([1, 2, 3]);
|
2016
|
+
* // => true
|
2017
|
+
*
|
2018
|
+
* _.isObject(1);
|
2019
|
+
* // => false
|
2020
|
+
*/
|
2021
|
+
function isObject(value) {
|
2022
|
+
// check if the value is the ECMAScript language type of Object
|
2023
|
+
// http://es5.github.io/#x8
|
2024
|
+
// and avoid a V8 bug
|
2025
|
+
// http://code.google.com/p/v8/issues/detail?id=2291
|
2026
|
+
return !!(value && objectTypes[typeof value]);
|
2027
|
+
}
|
2028
|
+
|
2029
|
+
module.exports = isObject;
|
2030
|
+
|
2031
|
+
|
2032
|
+
/***/ },
|
2033
|
+
/* 22 */
|
2034
|
+
/***/ function(module, exports, __webpack_require__) {
|
2035
|
+
|
2036
|
+
/**
|
2037
|
+
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
2038
|
+
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
2039
|
+
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
2040
|
+
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
2041
|
+
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
2042
|
+
* Available under MIT license <http://lodash.com/license>
|
2043
|
+
*/
|
2044
|
+
|
2045
|
+
/** `Object#toString` result shortcuts */
|
2046
|
+
var argsClass = '[object Arguments]';
|
2047
|
+
|
2048
|
+
/** Used for native method references */
|
2049
|
+
var objectProto = Object.prototype;
|
2050
|
+
|
2051
|
+
/** Used to resolve the internal [[Class]] of values */
|
2052
|
+
var toString = objectProto.toString;
|
2053
|
+
|
2054
|
+
/**
|
2055
|
+
* Checks if `value` is an `arguments` object.
|
2056
|
+
*
|
2057
|
+
* @static
|
2058
|
+
* @memberOf _
|
2059
|
+
* @category Objects
|
2060
|
+
* @param {*} value The value to check.
|
2061
|
+
* @returns {boolean} Returns `true` if the `value` is an `arguments` object, else `false`.
|
2062
|
+
* @example
|
2063
|
+
*
|
2064
|
+
* (function() { return _.isArguments(arguments); })(1, 2, 3);
|
2065
|
+
* // => true
|
2066
|
+
*
|
2067
|
+
* _.isArguments([1, 2, 3]);
|
2068
|
+
* // => false
|
2069
|
+
*/
|
2070
|
+
function isArguments(value) {
|
2071
|
+
return value && typeof value == 'object' && typeof value.length == 'number' &&
|
2072
|
+
toString.call(value) == argsClass || false;
|
2073
|
+
}
|
2074
|
+
|
2075
|
+
module.exports = isArguments;
|
2076
|
+
|
2077
|
+
|
2078
|
+
/***/ },
|
2079
|
+
/* 23 */
|
2080
|
+
/***/ function(module, exports, __webpack_require__) {
|
2081
|
+
|
2082
|
+
/**
|
2083
|
+
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
2084
|
+
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
2085
|
+
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
2086
|
+
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
2087
|
+
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
2088
|
+
* Available under MIT license <http://lodash.com/license>
|
2089
|
+
*/
|
2090
|
+
var isNative = __webpack_require__(27);
|
2080
2091
|
|
2081
|
-
|
2082
|
-
|
2083
|
-
if (!this._events || !this._events[type])
|
2084
|
-
ret = [];
|
2085
|
-
else if (isFunction(this._events[type]))
|
2086
|
-
ret = [this._events[type]];
|
2087
|
-
else
|
2088
|
-
ret = this._events[type].slice();
|
2089
|
-
return ret;
|
2090
|
-
};
|
2092
|
+
/** `Object#toString` result shortcuts */
|
2093
|
+
var arrayClass = '[object Array]';
|
2091
2094
|
|
2092
|
-
|
2093
|
-
|
2094
|
-
if (!emitter._events || !emitter._events[type])
|
2095
|
-
ret = 0;
|
2096
|
-
else if (isFunction(emitter._events[type]))
|
2097
|
-
ret = 1;
|
2098
|
-
else
|
2099
|
-
ret = emitter._events[type].length;
|
2100
|
-
return ret;
|
2101
|
-
};
|
2095
|
+
/** Used for native method references */
|
2096
|
+
var objectProto = Object.prototype;
|
2102
2097
|
|
2103
|
-
|
2104
|
-
|
2105
|
-
}
|
2098
|
+
/** Used to resolve the internal [[Class]] of values */
|
2099
|
+
var toString = objectProto.toString;
|
2106
2100
|
|
2107
|
-
|
2108
|
-
|
2109
|
-
}
|
2101
|
+
/* Native method shortcuts for methods with the same name as other `lodash` methods */
|
2102
|
+
var nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray;
|
2110
2103
|
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2104
|
+
/**
|
2105
|
+
* Checks if `value` is an array.
|
2106
|
+
*
|
2107
|
+
* @static
|
2108
|
+
* @memberOf _
|
2109
|
+
* @type Function
|
2110
|
+
* @category Objects
|
2111
|
+
* @param {*} value The value to check.
|
2112
|
+
* @returns {boolean} Returns `true` if the `value` is an array, else `false`.
|
2113
|
+
* @example
|
2114
|
+
*
|
2115
|
+
* (function() { return _.isArray(arguments); })();
|
2116
|
+
* // => false
|
2117
|
+
*
|
2118
|
+
* _.isArray([1, 2, 3]);
|
2119
|
+
* // => true
|
2120
|
+
*/
|
2121
|
+
var isArray = nativeIsArray || function(value) {
|
2122
|
+
return value && typeof value == 'object' && typeof value.length == 'number' &&
|
2123
|
+
toString.call(value) == arrayClass || false;
|
2124
|
+
};
|
2114
2125
|
|
2115
|
-
|
2116
|
-
return arg === void 0;
|
2117
|
-
}
|
2126
|
+
module.exports = isArray;
|
2118
2127
|
|
2119
2128
|
|
2120
2129
|
/***/ },
|
@@ -2131,10 +2140,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2131
2140
|
*/
|
2132
2141
|
var assign = __webpack_require__(41),
|
2133
2142
|
forEach = __webpack_require__(17),
|
2134
|
-
forOwn = __webpack_require__(
|
2143
|
+
forOwn = __webpack_require__(12),
|
2135
2144
|
getArray = __webpack_require__(33),
|
2136
|
-
isArray = __webpack_require__(
|
2137
|
-
isObject = __webpack_require__(
|
2145
|
+
isArray = __webpack_require__(23),
|
2146
|
+
isObject = __webpack_require__(21),
|
2138
2147
|
releaseArray = __webpack_require__(35),
|
2139
2148
|
slice = __webpack_require__(42);
|
2140
2149
|
|
@@ -2288,7 +2297,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2288
2297
|
* Available under MIT license <http://lodash.com/license>
|
2289
2298
|
*/
|
2290
2299
|
var bind = __webpack_require__(43),
|
2291
|
-
identity = __webpack_require__(
|
2300
|
+
identity = __webpack_require__(53),
|
2292
2301
|
setBindData = __webpack_require__(44),
|
2293
2302
|
support = __webpack_require__(45);
|
2294
2303
|
|
@@ -2636,8 +2645,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2636
2645
|
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
2637
2646
|
* Available under MIT license <http://lodash.com/license>
|
2638
2647
|
*/
|
2639
|
-
var cachePush = __webpack_require__(
|
2640
|
-
getObject = __webpack_require__(
|
2648
|
+
var cachePush = __webpack_require__(48),
|
2649
|
+
getObject = __webpack_require__(49),
|
2641
2650
|
releaseObject = __webpack_require__(36);
|
2642
2651
|
|
2643
2652
|
/**
|
@@ -2687,7 +2696,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2687
2696
|
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
2688
2697
|
* Available under MIT license <http://lodash.com/license>
|
2689
2698
|
*/
|
2690
|
-
var arrayPool = __webpack_require__(
|
2699
|
+
var arrayPool = __webpack_require__(47);
|
2691
2700
|
|
2692
2701
|
/**
|
2693
2702
|
* Gets an array from the array pool or creates a new one if the pool is empty.
|
@@ -2733,7 +2742,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2733
2742
|
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
2734
2743
|
* Available under MIT license <http://lodash.com/license>
|
2735
2744
|
*/
|
2736
|
-
var arrayPool = __webpack_require__(
|
2745
|
+
var arrayPool = __webpack_require__(47),
|
2737
2746
|
maxPoolSize = __webpack_require__(50);
|
2738
2747
|
|
2739
2748
|
/**
|
@@ -2765,7 +2774,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2765
2774
|
* Available under MIT license <http://lodash.com/license>
|
2766
2775
|
*/
|
2767
2776
|
var maxPoolSize = __webpack_require__(50),
|
2768
|
-
objectPool = __webpack_require__(
|
2777
|
+
objectPool = __webpack_require__(51);
|
2769
2778
|
|
2770
2779
|
/**
|
2771
2780
|
* Releases the given object back to the object pool.
|
@@ -2801,9 +2810,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2801
2810
|
*/
|
2802
2811
|
var baseCreateCallback = __webpack_require__(25),
|
2803
2812
|
baseIsEqual = __webpack_require__(52),
|
2804
|
-
isObject = __webpack_require__(
|
2813
|
+
isObject = __webpack_require__(21),
|
2805
2814
|
keys = __webpack_require__(13),
|
2806
|
-
property = __webpack_require__(
|
2815
|
+
property = __webpack_require__(54);
|
2807
2816
|
|
2808
2817
|
/**
|
2809
2818
|
* Produces a callback bound to an optional `thisArg`. If `func` is a property
|
@@ -3112,7 +3121,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3112
3121
|
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
3113
3122
|
* Available under MIT license <http://lodash.com/license>
|
3114
3123
|
*/
|
3115
|
-
var createWrapper = __webpack_require__(
|
3124
|
+
var createWrapper = __webpack_require__(55),
|
3116
3125
|
slice = __webpack_require__(42);
|
3117
3126
|
|
3118
3127
|
/**
|
@@ -3159,7 +3168,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3159
3168
|
* Available under MIT license <http://lodash.com/license>
|
3160
3169
|
*/
|
3161
3170
|
var isNative = __webpack_require__(27),
|
3162
|
-
noop = __webpack_require__(
|
3171
|
+
noop = __webpack_require__(56);
|
3163
3172
|
|
3164
3173
|
/** Used as the property descriptor for `__bindData__` */
|
3165
3174
|
var descriptor = {
|
@@ -3263,6 +3272,25 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3263
3272
|
|
3264
3273
|
/***/ },
|
3265
3274
|
/* 47 */
|
3275
|
+
/***/ function(module, exports, __webpack_require__) {
|
3276
|
+
|
3277
|
+
/**
|
3278
|
+
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
3279
|
+
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
3280
|
+
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
3281
|
+
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
3282
|
+
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
3283
|
+
* Available under MIT license <http://lodash.com/license>
|
3284
|
+
*/
|
3285
|
+
|
3286
|
+
/** Used to pool arrays and objects used internally */
|
3287
|
+
var arrayPool = [];
|
3288
|
+
|
3289
|
+
module.exports = arrayPool;
|
3290
|
+
|
3291
|
+
|
3292
|
+
/***/ },
|
3293
|
+
/* 48 */
|
3266
3294
|
/***/ function(module, exports, __webpack_require__) {
|
3267
3295
|
|
3268
3296
|
/**
|
@@ -3306,7 +3334,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3306
3334
|
|
3307
3335
|
|
3308
3336
|
/***/ },
|
3309
|
-
/*
|
3337
|
+
/* 49 */
|
3310
3338
|
/***/ function(module, exports, __webpack_require__) {
|
3311
3339
|
|
3312
3340
|
/**
|
@@ -3317,7 +3345,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3317
3345
|
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
3318
3346
|
* Available under MIT license <http://lodash.com/license>
|
3319
3347
|
*/
|
3320
|
-
var objectPool = __webpack_require__(
|
3348
|
+
var objectPool = __webpack_require__(51);
|
3321
3349
|
|
3322
3350
|
/**
|
3323
3351
|
* Gets an object from the object pool or creates a new one if the pool is empty.
|
@@ -3346,25 +3374,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3346
3374
|
module.exports = getObject;
|
3347
3375
|
|
3348
3376
|
|
3349
|
-
/***/ },
|
3350
|
-
/* 49 */
|
3351
|
-
/***/ function(module, exports, __webpack_require__) {
|
3352
|
-
|
3353
|
-
/**
|
3354
|
-
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
3355
|
-
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
3356
|
-
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
3357
|
-
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
3358
|
-
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
3359
|
-
* Available under MIT license <http://lodash.com/license>
|
3360
|
-
*/
|
3361
|
-
|
3362
|
-
/** Used to pool arrays and objects used internally */
|
3363
|
-
var arrayPool = [];
|
3364
|
-
|
3365
|
-
module.exports = arrayPool;
|
3366
|
-
|
3367
|
-
|
3368
3377
|
/***/ },
|
3369
3378
|
/* 50 */
|
3370
3379
|
/***/ function(module, exports, __webpack_require__) {
|
@@ -3397,25 +3406,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3397
3406
|
* Available under MIT license <http://lodash.com/license>
|
3398
3407
|
*/
|
3399
3408
|
|
3400
|
-
/**
|
3401
|
-
|
3402
|
-
*
|
3403
|
-
* @static
|
3404
|
-
* @memberOf _
|
3405
|
-
* @category Utilities
|
3406
|
-
* @param {*} value Any value.
|
3407
|
-
* @returns {*} Returns `value`.
|
3408
|
-
* @example
|
3409
|
-
*
|
3410
|
-
* var object = { 'name': 'fred' };
|
3411
|
-
* _.identity(object) === object;
|
3412
|
-
* // => true
|
3413
|
-
*/
|
3414
|
-
function identity(value) {
|
3415
|
-
return value;
|
3416
|
-
}
|
3409
|
+
/** Used to pool arrays and objects used internally */
|
3410
|
+
var objectPool = [];
|
3417
3411
|
|
3418
|
-
module.exports =
|
3412
|
+
module.exports = objectPool;
|
3419
3413
|
|
3420
3414
|
|
3421
3415
|
/***/ },
|
@@ -3647,59 +3641,28 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3647
3641
|
*/
|
3648
3642
|
|
3649
3643
|
/**
|
3650
|
-
*
|
3651
|
-
* given object.
|
3644
|
+
* This method returns the first argument provided to it.
|
3652
3645
|
*
|
3653
3646
|
* @static
|
3654
3647
|
* @memberOf _
|
3655
3648
|
* @category Utilities
|
3656
|
-
* @param {
|
3657
|
-
* @returns {
|
3649
|
+
* @param {*} value Any value.
|
3650
|
+
* @returns {*} Returns `value`.
|
3658
3651
|
* @example
|
3659
3652
|
*
|
3660
|
-
* var
|
3661
|
-
*
|
3662
|
-
*
|
3663
|
-
* ];
|
3664
|
-
*
|
3665
|
-
* var getName = _.property('name');
|
3666
|
-
*
|
3667
|
-
* _.map(characters, getName);
|
3668
|
-
* // => ['barney', 'fred']
|
3669
|
-
*
|
3670
|
-
* _.sortBy(characters, getName);
|
3671
|
-
* // => [{ 'name': 'barney', 'age': 36 }, { 'name': 'fred', 'age': 40 }]
|
3653
|
+
* var object = { 'name': 'fred' };
|
3654
|
+
* _.identity(object) === object;
|
3655
|
+
* // => true
|
3672
3656
|
*/
|
3673
|
-
function
|
3674
|
-
return
|
3675
|
-
return object[key];
|
3676
|
-
};
|
3657
|
+
function identity(value) {
|
3658
|
+
return value;
|
3677
3659
|
}
|
3678
3660
|
|
3679
|
-
module.exports =
|
3661
|
+
module.exports = identity;
|
3680
3662
|
|
3681
3663
|
|
3682
3664
|
/***/ },
|
3683
3665
|
/* 54 */
|
3684
|
-
/***/ function(module, exports, __webpack_require__) {
|
3685
|
-
|
3686
|
-
/**
|
3687
|
-
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
3688
|
-
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
3689
|
-
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
3690
|
-
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
3691
|
-
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
3692
|
-
* Available under MIT license <http://lodash.com/license>
|
3693
|
-
*/
|
3694
|
-
|
3695
|
-
/** Used to pool arrays and objects used internally */
|
3696
|
-
var objectPool = [];
|
3697
|
-
|
3698
|
-
module.exports = objectPool;
|
3699
|
-
|
3700
|
-
|
3701
|
-
/***/ },
|
3702
|
-
/* 55 */
|
3703
3666
|
/***/ function(module, exports, __webpack_require__) {
|
3704
3667
|
|
3705
3668
|
/**
|
@@ -3712,26 +3675,40 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3712
3675
|
*/
|
3713
3676
|
|
3714
3677
|
/**
|
3715
|
-
*
|
3678
|
+
* Creates a "_.pluck" style function, which returns the `key` value of a
|
3679
|
+
* given object.
|
3716
3680
|
*
|
3717
3681
|
* @static
|
3718
3682
|
* @memberOf _
|
3719
3683
|
* @category Utilities
|
3684
|
+
* @param {string} key The name of the property to retrieve.
|
3685
|
+
* @returns {Function} Returns the new function.
|
3720
3686
|
* @example
|
3721
3687
|
*
|
3722
|
-
* var
|
3723
|
-
*
|
3724
|
-
*
|
3688
|
+
* var characters = [
|
3689
|
+
* { 'name': 'fred', 'age': 40 },
|
3690
|
+
* { 'name': 'barney', 'age': 36 }
|
3691
|
+
* ];
|
3692
|
+
*
|
3693
|
+
* var getName = _.property('name');
|
3694
|
+
*
|
3695
|
+
* _.map(characters, getName);
|
3696
|
+
* // => ['barney', 'fred']
|
3697
|
+
*
|
3698
|
+
* _.sortBy(characters, getName);
|
3699
|
+
* // => [{ 'name': 'barney', 'age': 36 }, { 'name': 'fred', 'age': 40 }]
|
3725
3700
|
*/
|
3726
|
-
function
|
3727
|
-
|
3701
|
+
function property(key) {
|
3702
|
+
return function(object) {
|
3703
|
+
return object[key];
|
3704
|
+
};
|
3728
3705
|
}
|
3729
3706
|
|
3730
|
-
module.exports =
|
3707
|
+
module.exports = property;
|
3731
3708
|
|
3732
3709
|
|
3733
3710
|
/***/ },
|
3734
|
-
/*
|
3711
|
+
/* 55 */
|
3735
3712
|
/***/ function(module, exports, __webpack_require__) {
|
3736
3713
|
|
3737
3714
|
/**
|
@@ -3842,6 +3819,38 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3842
3819
|
module.exports = createWrapper;
|
3843
3820
|
|
3844
3821
|
|
3822
|
+
/***/ },
|
3823
|
+
/* 56 */
|
3824
|
+
/***/ function(module, exports, __webpack_require__) {
|
3825
|
+
|
3826
|
+
/**
|
3827
|
+
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
|
3828
|
+
* Build: `lodash modularize modern exports="node" -o ./modern/`
|
3829
|
+
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
|
3830
|
+
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
|
3831
|
+
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
3832
|
+
* Available under MIT license <http://lodash.com/license>
|
3833
|
+
*/
|
3834
|
+
|
3835
|
+
/**
|
3836
|
+
* A no-operation function.
|
3837
|
+
*
|
3838
|
+
* @static
|
3839
|
+
* @memberOf _
|
3840
|
+
* @category Utilities
|
3841
|
+
* @example
|
3842
|
+
*
|
3843
|
+
* var object = { 'name': 'fred' };
|
3844
|
+
* _.noop(object) === undefined;
|
3845
|
+
* // => true
|
3846
|
+
*/
|
3847
|
+
function noop() {
|
3848
|
+
// no operation performed
|
3849
|
+
}
|
3850
|
+
|
3851
|
+
module.exports = noop;
|
3852
|
+
|
3853
|
+
|
3845
3854
|
/***/ },
|
3846
3855
|
/* 57 */
|
3847
3856
|
/***/ function(module, exports, __webpack_require__) {
|
@@ -3948,7 +3957,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3948
3957
|
* Available under MIT license <http://lodash.com/license>
|
3949
3958
|
*/
|
3950
3959
|
var baseCreate = __webpack_require__(61),
|
3951
|
-
isObject = __webpack_require__(
|
3960
|
+
isObject = __webpack_require__(21),
|
3952
3961
|
setBindData = __webpack_require__(44),
|
3953
3962
|
slice = __webpack_require__(42);
|
3954
3963
|
|
@@ -4016,7 +4025,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4016
4025
|
* Available under MIT license <http://lodash.com/license>
|
4017
4026
|
*/
|
4018
4027
|
var baseCreate = __webpack_require__(61),
|
4019
|
-
isObject = __webpack_require__(
|
4028
|
+
isObject = __webpack_require__(21),
|
4020
4029
|
setBindData = __webpack_require__(44),
|
4021
4030
|
slice = __webpack_require__(42);
|
4022
4031
|
|
@@ -4100,8 +4109,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4100
4109
|
* Available under MIT license <http://lodash.com/license>
|
4101
4110
|
*/
|
4102
4111
|
var isNative = __webpack_require__(27),
|
4103
|
-
isObject = __webpack_require__(
|
4104
|
-
noop = __webpack_require__(
|
4112
|
+
isObject = __webpack_require__(21),
|
4113
|
+
noop = __webpack_require__(56);
|
4105
4114
|
|
4106
4115
|
/* Native method shortcuts for methods with the same name as other `lodash` methods */
|
4107
4116
|
var nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate;
|