remove 'firebugx.js'
closes: CNVS-28272 This was just here because ie <=9 did not have a 'console' object on the window. so doing any console.log(...)s would throw errors. all the browsers we now support don't have that problem test plan: load our site on the lowest IE version we support. it should work Change-Id: Ib4505fc8661eae966250c599f8789e0fd8e050b6 Reviewed-on: https://gerrit.instructure.com/75264 Tested-by: Jenkins Reviewed-by: Clay Diffrient <cdiffrient@instructure.com> QA-Review: Jeremy Putnam <jeremyp@instructure.com> Product-Review: Clay Diffrient <cdiffrient@instructure.com>
This commit is contained in:
parent
f4f1875151
commit
f725bcf813
|
@ -11,7 +11,6 @@ require [
|
|||
# be required
|
||||
'translations/_core_en'
|
||||
'jquery.ajaxJSON'
|
||||
'vendor/firebugx'
|
||||
'jquery.google-analytics'
|
||||
'vendor/swfobject/swfobject'
|
||||
'reminders'
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
/**
|
||||
|
||||
Software License Agreement (BSD License)
|
||||
|
||||
Copyright (c) 2007, Parakey Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use of this software in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer in the documentation and/or other
|
||||
materials provided with the distribution.
|
||||
|
||||
* Neither the name of Parakey Inc. nor the names of its
|
||||
contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior
|
||||
written permission of Parakey Inc.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
||||
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
*/
|
||||
|
||||
//this little script makes it so that any browser that doesn't have firebug loaded doesnt die on things like: console.log
|
||||
;(function(){
|
||||
if (!("console" in window)) {
|
||||
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
||||
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
||||
|
||||
window.console = {};
|
||||
for (var i = 0; i < names.length; i++) {
|
||||
window.console[names[i]] = function() {};
|
||||
}
|
||||
}
|
||||
})();
|
Loading…
Reference in New Issue