remove dojo uncompressed files

This commit is contained in:
Andrew Dolgov
2013-04-02 20:06:16 +04:00
parent 7caa48fe6a
commit 870334be3f
806 changed files with 0 additions and 156901 deletions
@@ -1,13 +0,0 @@
define("dojo/errors/CancelError", ["./create"], function(create){
// module:
// dojo/errors/CancelError
/*=====
return function(){
// summary:
// Default error if a promise is canceled without a reason.
};
=====*/
return create("CancelError", null, null, { dojoType: "cancel" });
});
@@ -1,15 +0,0 @@
define("dojo/errors/RequestError", ['./create'], function(create){
// module:
// dojo/errors/RequestError
/*=====
return function(){
// summary:
// TODOC
};
=====*/
return create("RequestError", function(message, response){
this.response = response;
});
});
@@ -1,15 +0,0 @@
define("dojo/errors/RequestTimeoutError", ['./create', './RequestError'], function(create, RequestError){
// module:
// dojo/errors/RequestTimeoutError
/*=====
return function(){
// summary:
// TODOC
};
=====*/
return create("RequestTimeoutError", null, RequestError, {
dojoType: "timeout"
});
});
-41
View File
@@ -1,41 +0,0 @@
define("dojo/errors/create", ["../_base/lang"], function(lang){
return function(name, ctor, base, props){
base = base || Error;
var ErrorCtor = function(message){
if(base === Error){
if(Error.captureStackTrace){
Error.captureStackTrace(this, ErrorCtor);
}
// Error.call() operates on the returned error
// object rather than operating on |this|
var err = Error.call(this, message),
prop;
// Copy own properties from err to |this|
for(prop in err){
if(err.hasOwnProperty(prop)){
this[prop] = err[prop];
}
}
// messsage is non-enumerable in ES5
this.message = message;
// stack is non-enumerable in at least Firefox
this.stack = err.stack;
}else{
base.apply(this, arguments);
}
if(ctor){
ctor.apply(this, arguments);
}
};
ErrorCtor.prototype = lang.delegate(base.prototype, props);
ErrorCtor.prototype.name = name;
ErrorCtor.prototype.constructor = ErrorCtor;
return ErrorCtor;
};
});