mirror of
https://github.com/a-sync/game-server-watcher.git
synced 2026-07-22 13:43:34 -04:00
15 lines
327 B
JavaScript
15 lines
327 B
JavaScript
if (typeof define !== 'function') { var define = require('amdefine')(module); }
|
|
define([],function(){
|
|
'use strict';
|
|
|
|
// Object.freeze(), or a thunk if that method is not present in this
|
|
// JavaScript environment.
|
|
|
|
if (Object.freeze) {
|
|
return Object.freeze;
|
|
} else {
|
|
return function(o) { return o; };
|
|
}
|
|
|
|
});
|