|
|
You are not logged in. Announcement
When reporting a problem or a bug :
Thanks.* Provide your OS version (INCLUDING service pack) and installed IE version. * Provide your IETester version * Provide the IE Tab version opened to generate the problem * Provide a test case with a sample url or sample code to reproduce the problem * Provide a step by step explanation on how to reproduce the problem. * If needed provide additional information. #1 2009-04-10 15:51:38
type definition of console variablewell. it 's me again! Code:var __empty_function = function(){}; // Boş Fonksiyon
var console = console || { // Yararlı bir Hata Yakalama Aracı: http://www.my-debugbar.com/wiki/CompanionJS
log: __empty_function,
debug: __empty_function,
info: __empty_function,
warn: __empty_function,
error: __empty_function,
assert: __empty_function,
dirxml: __empty_function,
time: __empty_function,
timeEnd: __empty_function
};But it didnt work... Becuase console variable has not a type definition. Code:alert(typeof console); return 'undefined' Last edited by Nickolas (2009-04-10 15:52:03) Offline #2 2009-04-10 16:01:34Re: type definition of console variableHi, Code:if (console) alert('ok'); else alert('no');it opens "ok" box. Offline #3 2009-04-10 17:37:29
Re: type definition of console variableSorry but that 's not working... Code:console = console || { // Yararlı bir Hata Yakalama Aracı: http://www.my-debugbar.com/wiki/CompanionJS
log: __empty_function,
debug: __empty_function,
info: __empty_function,
warn: __empty_function,
error: __empty_function,
assert: __empty_function,
dirxml: __empty_function,
time: __empty_function,
timeEnd: __empty_function
};(No set with var) Code:var console = console || { // Yararlı bir Hata Yakalama Aracı: http://www.my-debugbar.com/wiki/CompanionJS
log: __empty_function,
debug: __empty_function,
info: __empty_function,
warn: __empty_function,
error: __empty_function,
assert: __empty_function,
dirxml: __empty_function,
time: __empty_function,
timeEnd: __empty_function
};Dont work IE and other browser. This should be work and should be override on new console variable. Last edited by Nickolas (2009-04-10 17:40:29) Offline #4 2009-04-10 18:00:18Re: type definition of console variableHa. I'm not sure to understand : You code is working under IE but not under other browsers right ? In this case you should post on forums dedicated to those browsers. Offline #5 2012-01-13 16:04:53
Re: type definition of console variablehi! I found a site where you can find easy recipes. www.gourmetrecipe.com . Check it out! Its fun to cook! cooking recipes Gourmandia is a culinary website offering videos of world-class Michelin rated chefs exhibiting their techniques. Also features documentaries on fine dining restaurant locations and cities, recipes, forum, and more. Offline |