minify
This commit is contained in:
+1
-20
@@ -1,20 +1 @@
|
||||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
function ResourceLockInstance() {
|
||||
}
|
||||
|
||||
ResourceLockInstance.prototype.acquire = function () {
|
||||
this._isHeld = true;
|
||||
};
|
||||
|
||||
ResourceLockInstance.prototype.isHeld = function () {
|
||||
return this._isHeld === true;
|
||||
};
|
||||
|
||||
ResourceLockInstance.prototype.release = function () {
|
||||
this._isHeld = false;
|
||||
};
|
||||
|
||||
return ResourceLockInstance;
|
||||
});
|
||||
define([],function(){"use strict";function ResourceLockInstance(){}return ResourceLockInstance.prototype.acquire=function(){this._isHeld=!0},ResourceLockInstance.prototype.isHeld=function(){return this._isHeld===!0},ResourceLockInstance.prototype.release=function(){this._isHeld=!1},ResourceLockInstance});
|
||||
Reference in New Issue
Block a user