From 67d14b07d2b4e3641bb866b06caf27b479e3194d Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Fri, 14 Sep 2012 14:35:06 +0200 Subject: [PATCH] comment out warnings --- assets/javascripts/vendor/ember.js | 4 ++-- public/javascripts/vendor.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/javascripts/vendor/ember.js b/assets/javascripts/vendor/ember.js index 7ae2d669..d34c1bb4 100644 --- a/assets/javascripts/vendor/ember.js +++ b/assets/javascripts/vendor/ember.js @@ -2127,7 +2127,7 @@ function flushPendingChains() { forEach.call(queue, function(q) { q[0].add(q[1]); }); - Ember.warn('Watching an undefined global, Ember expects watched globals to be setup by the time the run loop is flushed, check for typos', pendingQueue.length === 0); + // Ember.warn('Watching an undefined global, Ember expects watched globals to be setup by the time the run loop is flushed, check for typos', pendingQueue.length === 0); // if(pendingQueue.length > 0) { // console.log(pendingQueue) @@ -13749,7 +13749,7 @@ Ember.View.states.inBuffer = { // when a view is rendered in a buffer, rerendering it simply // replaces the existing buffer with a new one rerender: function(view) { - Ember.deprecate("Something you did caused a view to re-render after it rendered but before it was inserted into the DOM. Because this is avoidable and the cause of significant performance issues in applications, this behavior is deprecated. If you want to use the debugger to find out what caused this, you can set ENV.RAISE_ON_DEPRECATION to true."); + // Ember.deprecate("Something you did caused a view to re-render after it rendered but before it was inserted into the DOM. Because this is avoidable and the cause of significant performance issues in applications, this behavior is deprecated. If you want to use the debugger to find out what caused this, you can set ENV.RAISE_ON_DEPRECATION to true."); view._notifyWillRerender(); diff --git a/public/javascripts/vendor.js b/public/javascripts/vendor.js index 816039ae..4dc24815 100644 --- a/public/javascripts/vendor.js +++ b/public/javascripts/vendor.js @@ -4081,7 +4081,7 @@ function flushPendingChains() { forEach.call(queue, function(q) { q[0].add(q[1]); }); - Ember.warn('Watching an undefined global, Ember expects watched globals to be setup by the time the run loop is flushed, check for typos', pendingQueue.length === 0); + // Ember.warn('Watching an undefined global, Ember expects watched globals to be setup by the time the run loop is flushed, check for typos', pendingQueue.length === 0); // if(pendingQueue.length > 0) { // console.log(pendingQueue) @@ -15703,7 +15703,7 @@ Ember.View.states.inBuffer = { // when a view is rendered in a buffer, rerendering it simply // replaces the existing buffer with a new one rerender: function(view) { - Ember.deprecate("Something you did caused a view to re-render after it rendered but before it was inserted into the DOM. Because this is avoidable and the cause of significant performance issues in applications, this behavior is deprecated. If you want to use the debugger to find out what caused this, you can set ENV.RAISE_ON_DEPRECATION to true."); + // Ember.deprecate("Something you did caused a view to re-render after it rendered but before it was inserted into the DOM. Because this is avoidable and the cause of significant performance issues in applications, this behavior is deprecated. If you want to use the debugger to find out what caused this, you can set ENV.RAISE_ON_DEPRECATION to true."); view._notifyWillRerender();