updated cordova-common dependnecy to 1.1.0

This commit is contained in:
Steve Gill
2016-02-24 09:50:07 -08:00
parent ce2525d4d8
commit 1d7ccaece6
696 changed files with 3515 additions and 1715 deletions
+17
View File
@@ -0,0 +1,17 @@
var identity = require('../utility/identity'),
metaMap = require('./metaMap');
/**
* The base implementation of `setData` without support for hot loop detection.
*
* @private
* @param {Function} func The function to associate metadata with.
* @param {*} data The metadata.
* @returns {Function} Returns `func`.
*/
var baseSetData = !metaMap ? identity : function(func, data) {
metaMap.set(func, data);
return func;
};
module.exports = baseSetData;