Recommend this page to a friend! |
Classes of Juan Jose | Wrapper Tracer | WrapperTracer-en/README.md | Download |
|
|
Download > ----------------------------------------------------------------------------------------------------- > 'WrapperTracer' (Class JS) - Analyzing and Traces JS objects. > Author: Juan José Guerra Haba - <dinertron@gmail.com> - Marzo de 2016 > License: Free BSD. & Open GPL v.3. Keep credit, please. > Versión: 1.0.0 BETA > File: WrapperTracer.js Main Class: WrapperTracer.js > > ---------------------------------------------------------------------------------------------------- WrapperTracerIt is a class that creates Javascript wrapper objects to allow tracking of the executed methods. Features1. Do not in any way alter the original object 2. Fully OOP 3. Cross-browser 4. Philosophy MVC 5. Reduction to minimum of code to use by the user. UsageSimply call the constructor with two parameters: The object tracking and DOMElement container element that will house the results for the GUI. The container element parameter can be a string containing the element id. Ej:
Of course you must be loaded before the script in the HTML header.
ExplanatoryIt serve of TRACER to obtain a visual representation of methods's execution cycle, as help with information (elapsed time, nesting, methods type, parameters, ...). This class relies heavily on the utility functions of an internal object implemented in the same file, the 'Util' object, which contains methods and objects statics that although they are geared specifically for object 'wrapper', they could be used outside the same using his 'classpath'. Public API<dl> <dt>Constructor</dt>
<dt>Getters</dt>
<dt>Setters</dt>
</dl> AuthoringCreated and developed entirely by Juan Jose Guerra Haba. <dinertron@gmail.com> Copyright 2015 © <a href="mailto:dinertron@gmail.com" title="author">GuerraTron</a> License GPL v3 Developing & ToolsCreated with Nodeclipse (Eclipse Marketplace, site) Nodeclipse is free open-source project that grows with your contributions. Debug by Firefox + Firebug Additional editing and cleaning withNotepad++ |