Skip to content
Projects

openexchangerates/javascript-sandbox-console

View on GitHub

About

a mini interactive javascript console for library/plugin demos and homepages

Developer Tools

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

JavaScript Sandbox Console

js sandbox console screenshot

a javascript playground to enhance demos and homepages for javascript libraries, plugins and scripts, giving visitors an easy and chilled-out way to test-drive functionality.

see the project homepage for a live demo, features, installation guide and more info.

maintained by Open Exchange Rates (see it in action on the money.js homepage).

Changelog

0.2

  • Now maintained by Open Exchange Rates
  • Improved documentation

0.1.5

  • Added setValue method, to programmatically set the value inside the sandbox

0.1.4

  • Added an iframe setting on the Sandbox Model that creates a hidden iframe and evaluates all commands inside its 'sandboxed' scope - effectively blocking access to global variables.
  • Added a script loader method sandbox.model.load to inject a script into the page (or the iframe).
  • Added :load special command, available from the sandbox command line, to bootstrap any script into the global context (most useful in iframe mode. E.g.: :load http://code.jquery.com/jquery-1.6.4.js

0.1.3

  • Added very basic stringification for objects. If JSON.stringify(obj) works, it prints the result, otherwise it's obj.toString()

0.1.2

  • Mirrored gh-pages and master branches

0.1.1

  • Added view.toEscaped() method to escape HTML strings for safe output templating

0.1

  • First release

Explore related projects

Loading…