Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
15 lines
253 B
JavaScript
Executable file
15 lines
253 B
JavaScript
Executable file
define(function(require, exports, module) {
|
|
'use strict';
|
|
|
|
module.exports = function(object) {
|
|
var key;
|
|
var fn;
|
|
for (key in object) {
|
|
fn = object[key];
|
|
if (typeof fn === 'function') {
|
|
object[key] = fn.bind(object);
|
|
}
|
|
}
|
|
};
|
|
|
|
});
|