Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #2666 from odahcam/patch-1
Browse files Browse the repository at this point in the history
Fix JS block syntax highlighting
  • Loading branch information
Arthur Evans authored Oct 23, 2018
2 parents d2df7e3 + a79119a commit db0b7ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/3.0/docs/tools/create-element-polymer-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ Import your dependencies using module specifiers:

src/my-el/my-el.js {.caption}

```js
import {PolymerElement} from '@polymer/polymer/polymer-element.js';
import '@polymer/paper-button/paper-button.js';
import '../child-el/child-el.js';
```
```js
import {PolymerElement} from '@polymer/polymer/polymer-element.js';
import '@polymer/paper-button/paper-button.js';
import '../child-el/child-el.js';
```

* When importing a dependency installed using npm, use the package name, followed
by the path to the module.
Expand Down

0 comments on commit db0b7ed

Please sign in to comment.