-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrea Zornada
committed
Jun 16, 2016
1 parent
44d7da2
commit 7969968
Showing
8 changed files
with
126 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
language: node_js | ||
node_js: | ||
- "0.12" | ||
before_install: | ||
- "npm install -g bower" | ||
- "bower install" | ||
- "npm install -g web-component-tester" | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
script: "wct" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# polymer-cookie | ||
# \<polymer-cookie\> | ||
|
||
> Cookie Web Component for Polymer 1.x | ||
[![Bower version](https://badge.fury.io/bo/polymer-cookie.svg)](https://badge.fury.io/bo/polymer-cookie) | ||
[![npm](https://img.shields.io/npm/v/polymer-cookie.svg?maxAge=86400)]() | ||
[![Bower](https://img.shields.io/bower/v/polymer-cookie.svg?maxAge=86400)]() | ||
[![Build Status](https://travis-ci.org/andreasonny83/generator-polymer.svg?branch=master)](https://travis-ci.org/andreasonny83/generator-polymer) | ||
|
||
![](http://benschwarz.github.io/bower-badges/[email protected]) | ||
|
||
Cookie Web Component for Polymer 1.0 | ||
Cookie Web Component for Polymer 1.x | ||
|
||
```html | ||
<polymer-cookie | ||
|
@@ -174,9 +176,13 @@ $ npm install -g polymer-cli | |
|
||
### Run the demo | ||
|
||
To run the element demo: | ||
First install all the project dependencies with: | ||
|
||
Run polymer serve from the repo directory: | ||
```shell | ||
$ bower install | ||
``` | ||
|
||
Then, run Polymer serve from the repo directory with: | ||
|
||
```shell | ||
$ polymer serve | ||
|
@@ -189,9 +195,6 @@ For more information about Polymer CLI have a look at the | |
|
||
## Contributing | ||
|
||
A special thanks to [Cameron](https://github.com/cameronwp) | ||
and [Pascal](https://github.com/MeTaNoV) for their contributions. | ||
|
||
1. Fork it! | ||
2. Create your feature branch: `git checkout -b my-new-feature` | ||
3. Commit your changes: `git commit -m 'Add some feature'` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>polymer-cookie test</title> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes"> | ||
<script src="../../webcomponentsjs/webcomponents-lite.js"></script> | ||
<script src="../../web-component-tester/browser.js"></script> | ||
|
||
<link rel="import" href="../polymer-cookie.html"> | ||
</head> | ||
<body> | ||
|
||
<test-fixture id="basic"> | ||
<template> | ||
<polymer-cookie></polymer-cookie> | ||
</template> | ||
</test-fixture> | ||
|
||
<script> | ||
suite('polymer-cookie', function() { | ||
|
||
test('instantiating the element works', function() { | ||
let element = fixture('basic'); | ||
assert.equal(element.is, 'polymer-cookie'); | ||
}); | ||
|
||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"verbose": false, | ||
"plugins": { | ||
"local": { | ||
"browsers": ["chrome", "firefox"] | ||
} | ||
} | ||
} |