Sha256: b10093f0c901375934a3000123deba8fdf267c23b8a292e78d5aa7134ebc640d
Contents?: true
Size: 1.4 KB
Versions: 3
Compression:
Stored size: 1.4 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372212333.805104:@value"-{I" class:EFI"BundledAsset;FI"logical_path;FI"Core/wrapFunction.js;TI" pathname;FI"R/Users/bogumil/www/engines/cesium/app/assets/javascripts/Core/wrapFunction.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-06-26T04:04:58+02:00;FI"length;FiVI"digest;F"%6dac4136b1ad7f9dd01bca9da9f2a4f3I"source;FI"V/*global define*/ define(['Core/DeveloperError'], function(DeveloperError) { "use strict"; /** * Wraps a function on the provided objects with another function called in the * object's context so that the new function is always called immediately * before the old one. * * @private */ var wrapFunction = function(obj, oldFunction, newFunction) { if (typeof oldFunction !== 'function') { throw new DeveloperError("oldFunction is required to be a function."); } if (typeof newFunction !== 'function') { throw new DeveloperError("oldFunction is required to be a function."); } return function() { newFunction.apply(obj, arguments); oldFunction.apply(obj, arguments); }; }; return wrapFunction; }); ;FI"required_assets_digest;F"%ec6dc7d94856354b492ded3c6355c635I" _version;F"%6776f581a4329e299531e1d52aa59832
Version data entries
3 entries across 3 versions & 1 rubygems