Skip to content

Compile Library with Closure Compiler

mohamedmansour edited this page Mar 7, 2012 · 1 revision

Welcome to the google-plus-extension-jsapi wiki!

Compile JSAPI using Closure Compiler

// ==ClosureCompiler==
// @output_file_name jsapi-min.js
// @compilation_level ADVANCED_OPTIMIZATIONS
// @code_url https://raw.github.com/mohamedmansour/google-plus-extension-jsapi/master/jsapi/jsapi_helper.js
// @code_url https://raw.github.com/mohamedmansour/google-plus-extension-jsapi/master/jsapi/jsapi_abstract_database.js
// @code_url https://raw.github.com/mohamedmansour/google-plus-extension-jsapi/master/jsapi/jsapi_database.js
// @code_url https://raw.github.com/mohamedmansour/google-plus-extension-jsapi/master/jsapi/jsapi_for_google_plus.js
// ==/ClosureCompiler==

Testing the JSAPI

We are using QUnit for testing the Asynchronous JavaScript, to run the tests, just load this folder into Chrome as an extension, and open the popup, it will run the tests.