• Stars
    star
    317
  • Rank 132,216 (Top 3 %)
  • Language
    HTML
  • License
    MIT License
  • Created about 13 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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