closure-tools-devtools icon indicating copy to clipboard operation
closure-tools-devtools copied to clipboard

GoogleChrome DevTools extension for Closure Tools applications.

Closure Tools DevTools

GoogleChrome DevTools extension for Closure Tools applications.

Installation

from Chrome Web Store

🔗 Demo page : https://mugi-uno.github.io/closure-tools-devtools/

Usage

Add the following code to your application

goog.require("goog.ui.Component");
goog.require("goog.events.EventTarget");

if (window["__CLOSURE_TOOLS_DEVTOOLS__"]) {
  window["__CLOSURE_TOOLS_DEVTOOLS__"].setup();
}

If you are using Closure Compiler, you can also add src/activator/setup.js to dependencies and add the following code to your application.

goog.require("closuretoolsdevtools.setup");

if (goog.DEBUG) {
  closuretoolsdevtools.setup();
}

Licence

MIT