Skip to content

Commit

Permalink
feat(): Implemented package should not have angular as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
akserg committed Jul 31, 2016
1 parent 6badd3c commit efeae6b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
13 changes: 9 additions & 4 deletions bundles/ng2-toasty.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
System.registerDynamic("src/toasty.container", ["@angular/core", "@angular/common", "./toasty.utils", "./toasty.config", "./toasty.service", "./toasty.component"], true, function($__require, exports, module) {
"use strict";
;
var define,
global = this,
Expand Down Expand Up @@ -106,12 +107,13 @@ System.registerDynamic("src/toasty.container", ["@angular/core", "@angular/commo
template: "\n <div id=\"toasty\" [ngClass]=\"[position]\">\n <ng2-toast *ngFor=\"let toast of toasts\" [toast]=\"toast\" (closeToast)=\"closeToast(toast)\"></ng2-toast>\n </div>"
}), __metadata('design:paramtypes', [toasty_config_1.ToastyConfig, toasty_service_1.ToastyService])], Toasty);
return Toasty;
})();
}());
exports.Toasty = Toasty;
return module.exports;
});

System.registerDynamic("src/toasty.component", ["@angular/core", "@angular/common"], true, function($__require, exports, module) {
"use strict";
;
var define,
global = this,
Expand Down Expand Up @@ -150,12 +152,13 @@ System.registerDynamic("src/toasty.component", ["@angular/core", "@angular/commo
template: "\n <div class=\"toast\" [ngClass]=\"[toast.type, toast.theme]\">\n <div *ngIf=\"toast.showClose\" class=\"close-button\" (click)=\"close($event)\"></div>\n <div *ngIf=\"toast.title || toast.msg\" class=\"toast-text\">\n <span *ngIf=\"toast.title\" class=\"toast-title\">{{toast.title}}</span>\n <br *ngIf=\"toast.title && toast.msg\" />\n <span *ngIf=\"toast.msg\" class=\"toast-msg\">{{toast.msg}}</span>\n </div>\n </div>"
}), __metadata('design:paramtypes', [])], Toast);
return Toast;
})();
}());
exports.Toast = Toast;
return module.exports;
});

System.registerDynamic("src/toasty.config", ["@angular/core"], true, function($__require, exports, module) {
"use strict";
;
var define,
global = this,
Expand Down Expand Up @@ -187,12 +190,13 @@ System.registerDynamic("src/toasty.config", ["@angular/core"], true, function($_
}
ToastyConfig = __decorate([core_1.Injectable(), __metadata('design:paramtypes', [])], ToastyConfig);
return ToastyConfig;
})();
}());
exports.ToastyConfig = ToastyConfig;
return module.exports;
});

System.registerDynamic("src/toasty.service", ["@angular/core", "./toasty.utils", "rxjs/Observable", "./toasty.config"], true, function($__require, exports, module) {
"use strict";
;
var define,
global = this,
Expand Down Expand Up @@ -311,12 +315,13 @@ System.registerDynamic("src/toasty.service", ["@angular/core", "./toasty.utils",
ToastyService.THEMES = ['default', 'material', 'bootstrap'];
ToastyService = __decorate([core_1.Injectable(), __metadata('design:paramtypes', [toasty_config_1.ToastyConfig])], ToastyService);
return ToastyService;
})();
}());
exports.ToastyService = ToastyService;
return module.exports;
});

System.registerDynamic("src/toasty.utils", [], true, function($__require, exports, module) {
"use strict";
;
var define,
global = this,
Expand Down
2 changes: 1 addition & 1 deletion bundles/ng2-toasty.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit efeae6b

Please sign in to comment.