prinzhorn / jquery-inlog Goto Github PK
View Code? Open in Web Editor NEWSee what your jQuery code does inside like a boss.
Home Page: http://prinzhorn.github.com/jquery-inlog/
License: MIT License
See what your jQuery code does inside like a boss.
Home Page: http://prinzhorn.github.com/jquery-inlog/
License: MIT License
Hi
This is a very nice plugin that i am using in a jquery heavy application. I am using the plugin with following settings
var defaults = { enabled: true, //Shortcut: $.inlog(true|false); thisValue: true, //Output this-value or not returnValue: true, //Output return-value or not indent: true, //Indent nested calls or not maxDepth: -1 //How many levels of nested calls to output };
I am not running any funky selectors but there is considerable lag in Firefox in firing the event and the appropriate code running (basically the time taken by the logger is high). This issue is not there in Chrome. So far these are the only 2 browsers I have tried.
Everything works fine if i comment the logger with no lag.
Note : This is the first time i am submitting an issue so I am not exactly sure if I am following the right protocol.
this.
This is not a problem with the actual script its self, it works fine for me locally and in Safari.
The issue for me is with pressing the example button on http://prinzhorn.github.com/jquery-inlog/ - it doesn't work under FF9.0.1 (or, less importantly, IE9).
In FF I just get:
$.inlog is not a function
[Break On This Error] $.inlog(true);
and jquery.inlog.js doesn't seem to have loaded at all.
In IE9 I get a bit more info:
SEC7112: Script from https://raw.github.com/Prinzhorn/jquery-inlog/master/jquery.inlog.js was blocked due to mime type mismatch
jquery-inlog
which gives me the impression that the
X-Content-Type-Options: nosniff
declaration is causing a it not to load (see http://stackoverflow.com/questions/5986772/ie9-script-response-blocked-due-to-mime-type-mismatch).
We should detect if https://github.com/bestiejs/benchmark.js is present and output the time each call took and the percentage for each level.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.