Updated: angular 0.46.0 fixes

This commit is contained in:
buchslava
2015-12-03 18:05:59 +02:00
parent 4f32efe761
commit 936f9896e3
6 changed files with 24714 additions and 24046 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -3,12 +3,12 @@ webpackJsonp([2],{
/***/ 0: /***/ 0:
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(99); module.exports = __webpack_require__(378);
/***/ }, /***/ },
/***/ 36: /***/ 50:
/***/ function(module, exports) { /***/ function(module, exports) {
function isElement(node) { function isElement(node) {
@@ -40,21 +40,19 @@ webpackJsonp([2],{
/***/ }, /***/ },
/***/ 95: /***/ 125:
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc); var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
switch (arguments.length) { if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
case 3: return decorators.reduceRight(function(o, d) { return (d && d(target, key)), void 0; }, void 0); return c > 3 && r && Object.defineProperty(target, key, r), r;
case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc);
}
}; };
var __metadata = (this && this.__metadata) || function (k, v) { var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
}; };
var angular2_1 = __webpack_require__(6); var angular2_1 = __webpack_require__(8);
var FileDrop = (function () { var FileDrop = (function () {
function FileDrop(element) { function FileDrop(element) {
this.element = element; this.element = element;
@@ -139,10 +137,10 @@ webpackJsonp([2],{
/***/ }, /***/ },
/***/ 96: /***/ 126:
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
var file_like_object_1 = __webpack_require__(36); var file_like_object_1 = __webpack_require__(50);
var FileItem = (function () { var FileItem = (function () {
function FileItem(uploader, some, options) { function FileItem(uploader, some, options) {
this.uploader = uploader; this.uploader = uploader;
@@ -246,14 +244,10 @@ webpackJsonp([2],{
this.remove(); this.remove();
} }
}; };
FileItem.prototype._destroy = function () {
};
FileItem.prototype._prepareToUploading = function () { FileItem.prototype._prepareToUploading = function () {
this.index = this.index || ++this.uploader._nextIndex; this.index = this.index || ++this.uploader._nextIndex;
this.isReady = true; this.isReady = true;
}; };
FileItem.prototype._replaceNode = function (input) {
};
return FileItem; return FileItem;
})(); })();
exports.FileItem = FileItem; exports.FileItem = FileItem;
@@ -261,21 +255,19 @@ webpackJsonp([2],{
/***/ }, /***/ },
/***/ 97: /***/ 127:
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc); var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
switch (arguments.length) { if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
case 3: return decorators.reduceRight(function(o, d) { return (d && d(target, key)), void 0; }, void 0); return c > 3 && r && Object.defineProperty(target, key, r), r;
case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc);
}
}; };
var __metadata = (this && this.__metadata) || function (k, v) { var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
}; };
var angular2_1 = __webpack_require__(6); var angular2_1 = __webpack_require__(8);
var FileSelect = (function () { var FileSelect = (function () {
function FileSelect(element) { function FileSelect(element) {
this.element = element; this.element = element;
@@ -314,11 +306,11 @@ webpackJsonp([2],{
/***/ }, /***/ },
/***/ 98: /***/ 128:
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
var file_like_object_1 = __webpack_require__(36); var file_like_object_1 = __webpack_require__(50);
var file_item_1 = __webpack_require__(96); var file_item_1 = __webpack_require__(126);
function isFile(value) { function isFile(value) {
return (File && value instanceof File); return (File && value instanceof File);
} }
@@ -337,6 +329,7 @@ webpackJsonp([2],{
this._nextIndex = 0; this._nextIndex = 0;
this.filters = []; this.filters = [];
this.url = options.url; this.url = options.url;
this.authToken = options.authToken;
this.filters.unshift({ name: 'queueLimit', fn: this._queueLimitFilter }); this.filters.unshift({ name: 'queueLimit', fn: this._queueLimitFilter });
this.filters.unshift({ name: 'folder', fn: this._folderFilter }); this.filters.unshift({ name: 'folder', fn: this._folderFilter });
} }
@@ -379,7 +372,6 @@ webpackJsonp([2],{
item.cancel(); item.cancel();
} }
this.queue.splice(index, 1); this.queue.splice(index, 1);
item._destroy();
this.progress = this._getTotalProgress(); this.progress = this._getTotalProgress();
}; };
FileUploader.prototype.clearQueue = function () { FileUploader.prototype.clearQueue = function () {
@@ -562,6 +554,9 @@ webpackJsonp([2],{
}; };
xhr.open(item.method, item.url, true); xhr.open(item.method, item.url, true);
xhr.withCredentials = item.withCredentials; xhr.withCredentials = item.withCredentials;
if (this.authToken) {
xhr.setRequestHeader('Authorization', this.authToken);
}
xhr.send(form); xhr.send(form);
this._render(); this._render();
}; };
@@ -620,16 +615,15 @@ webpackJsonp([2],{
/***/ }, /***/ },
/***/ 99: /***/ 378:
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
///<reference path="../tsd.d.ts"/>
function __export(m) { function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
} }
__export(__webpack_require__(97)); __export(__webpack_require__(127));
__export(__webpack_require__(95)); __export(__webpack_require__(125));
__export(__webpack_require__(98)); __export(__webpack_require__(128));
/***/ } /***/ }

File diff suppressed because one or more lines are too long

35199
build/angular2.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long