Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
Change-Id: I3c95e57e02c8d642b60df5bebc02b4446c607d5e
  • Loading branch information
samthor committed Jul 15, 2016
1 parent 7874141 commit 63a733e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The module provides `compile` as a low-level method to compile JavaScript.
By default, this compiles ES6 to ES5 and includes the default set of ECMAScript externs files.

```js
const compiler = require('google-closure-compiler-js').compiler;
const compile = require('google-closure-compiler-js').compile;

const flags = {
jsCode: [{source: 'const x = 1 + 2;'}],
Expand Down

0 comments on commit 63a733e

Please sign in to comment.