|
@@ -679,18 +679,6 @@ define("amber/boot", [ 'require', './browser-compatibility' ], function (require
|
|
|
|
|
|
function AugmentsBrik(brikz, st) {
|
|
function AugmentsBrik(brikz, st) {
|
|
|
|
|
|
- /* Make sure that console is defined */
|
|
|
|
-
|
|
|
|
- if(typeof console === "undefined") {
|
|
|
|
- this.console = {
|
|
|
|
- log: function() {},
|
|
|
|
- warn: function() {},
|
|
|
|
- info: function() {},
|
|
|
|
- debug: function() {},
|
|
|
|
- error: function() {}
|
|
|
|
- };
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/* Array extensions */
|
|
/* Array extensions */
|
|
|
|
|
|
Array.prototype.addElement = function(el) {
|
|
Array.prototype.addElement = function(el) {
|