Skip to content

jsLog is a Javascript Console Log which works with jQuery to display messages which can be value of any variable ,return value of any function, and your custom state message at runtime. It's only 4 KB, includes really basic but practical functionalities and work in all browser properly including mobile browsers .

Notifications You must be signed in to change notification settings

godspeed1715/jquery.jsconsole.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

jquery.jsconsole.js

jsConsole is a Javascript Console Log for HTAs (HTML Applications) which works with jQuery to implement console.log, console.info, and console.error. It will also log errors that would normally appear in a popup box. It is a tool for developing HTAs that once you start using is impossible to stop, because it increases HTA development productivity and decreases development time. Never again use alert() to debug your HTA application. It's currently in APLHA and needs some work but is in a stable state and is currently useable. The jsConsole.js file is only 15 KB and incorporates all the requried features that a develeoper needs to adequately develop and debug an HTA application.

##How to install and initialize

Place the script file in your main HTA file

<script src="./Path/To/jsconsole.js"></script>

To initilize the console

jsConsole.init();

To toggle the console, press F12

To toggle the console onload place this code after jsConsole.init()

jsConsole.toggle();

##Features

  • Ability to use console.* for debugging
  • time() and timeEnd() to find execution time of function or scripts.
  • Ability to enter commands within the console to debug scripts, and functions.
  • Command History (Type history in the console.)
  • Clearing of console log (Type clear in the console.)
  • Ability to toggle console by either the F12 key or by using the toggle method of jsConsole ie. jsConosle.toggle()

##Dependencies

  • jQuery 1.9.x
  • FontAwesome 4.0.x

##Credit

The original plugin was created by Serkan Karaarslan. This is currently a fork of his initial code, and hopes to provide additional features.

The performance.now shim was taken from Coding Johnson.

About

jsLog is a Javascript Console Log which works with jQuery to display messages which can be value of any variable ,return value of any function, and your custom state message at runtime. It's only 4 KB, includes really basic but practical functionalities and work in all browser properly including mobile browsers .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published