Skip to content
Evaluate your JavaScript functions live while editing.
JavaScript
Find file
Latest commit a0dda4e Apr 2, 2012 @neonux Bump add-on version.
Failed to load latest commit information.
content Filter [object XRayWrapper *] decoration out. Apr 2, 2012
locale/en-US
skin Display a small separator between each loop iteration. Apr 1, 2012
LICENSE.txt
Makefile Initial import after refactoring, prettification and add-on'ization o… Apr 1, 2012
README.md Bump add-on version. Apr 2, 2012
chrome.manifest
icon.png
install.rdf Bump add-on version. Apr 2, 2012

README.md

Live Scratchpad

Description

This add-on adds a live function evaluation feature to the Scratchpad.

You can change the arguments passed to the function and see the result of the function in real-time, including the intermediate assignments performed within the function. Click on values to inspect the properties of an object or of a DOM element. Branches not executed during evaluation are directly visible from the editor.

Build Instructions

From inside the project directory, run:

make

or:

zip -r ../LiveScratchpad.xpi * -x ".git/*"

Installation

Note that the Live Scratchpad add-on requires Firefox 11 or later. Drag and drop LiveScratchpad.xpi in Firefox, follow instructions to install add-on.

Testsuite

To run the tests, you need to build Mozilla from source. Set environment variable OBJDIR to point to your tree's OBJDIR, then run :

make test

Legal

Licensed under the tri-license MPL 1.1/GPL 2.0/LGPL 2.1. See LICENSE.txt for details.

The logo icon.png and derivatives are attributed to the W3C and licensed under CC Attribution 3.0 Unported http://creativecommons.org/licenses/by/3.0/.

More

For documentation, feedback, contributions : http://wiki.mozilla.org/DevTools/Features/Scratchpad

Something went wrong with that request. Please try again.