Skip to content

Commit

Permalink
Updated 'Getting Started'
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwen Qian committed Sep 24, 2015
1 parent 091fed1 commit 28a6aeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/articles/getting_started.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Getting Started

The Strand Web Components library is built on Google's <a href="https://www.polymer-project.org" target="_blank">Polymer</a>. If you're unfamiliar, get started by reading the Polymer <a href="https://www.polymer-project.org/docs/polymer/polymer.html" target="_blank">API developer guide</a>. The Strand documentation does not attempt to duplicate information which can be found in the Polymer documentation (e.g. component life cycle, etc.). To get started using Strand Web Components in your project, follow the steps below:
The Strand Web Components library is built on Google's <a href="https://www.polymer-project.org" target="_blank">Polymer</a>. If you're unfamiliar, get started by reading the Polymer <a href="https://www.polymer-project.org/1.0/docs/devguide/feature-overview.html" target="_blank">API developer guide</a>. The Strand documentation does not attempt to duplicate information which can be found in the Polymer documentation (e.g. component life cycle, etc.). To get started using Strand Web Components in your project, follow the steps below:

## Latest Version

Expand All @@ -13,7 +13,7 @@ $ bower install strand
Add the <a href="http://webcomponents.org/polyfills/" target= "_blank">webcomponentsjs</a> polyfills and the Strand library to your `head` tag.

```html
<script language="javascript" src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
<script language="javascript" src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
<link rel="import" href="bower_components/strand/dist/strand.html"/>
```

Expand All @@ -28,7 +28,7 @@ Start adding web component tags to your markup or template wherever you would li
To add an event trigger for when all Polymer elements on the page have been upgraded and are ready to use, try the following:

```javascript
window.addEventListener("polymer-ready", function() {
window.addEventListener("WebComponentsReady", function() {
// Your web components are ready!
// Do whatever you need to do here.
var coolBtn = document.querySelector("#coolBtn");
Expand Down

0 comments on commit 28a6aeb

Please sign in to comment.