Skip to content

Commit

Permalink
Port to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Sille Kamoen committed Oct 7, 2018
1 parent f2fc615 commit 111f14b
Show file tree
Hide file tree
Showing 14 changed files with 875 additions and 268 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
bower_components
node_modules
29 changes: 0 additions & 29 deletions LICENSE

This file was deleted.

21 changes: 2 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,14 @@ iron-ajax element specified for the lancie frontends

## Install the Polymer-CLI

First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your application locally.
First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) and npm (packaged with [Node.js](https://nodejs.org)) installed. Run `npm install` to install your element's dependencies, then run `polymer serve` to serve your element locally.

## Viewing Your Application
## Viewing Your Element

```
$ polymer serve
```

## Building Your Application

```
$ polymer build
```

This will create a `build/` folder with `bundled/` and `unbundled/` sub-folders
containing a bundled (Vulcanized) and unbundled builds, both run through HTML,
CSS, and JS optimizers.

You can serve the built versions by giving `polymer serve` a folder to serve
from:

```
$ polymer serve build/bundled
```

## Running Tests

```
Expand Down
16 changes: 0 additions & 16 deletions bower.json

This file was deleted.

17 changes: 11 additions & 6 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@

<title>lancie-ajax demo</title>

<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>

<link rel="import" href="../../iron-demo-helpers/demo-pages-shared-styles.html">
<link rel="import" href="../../iron-demo-helpers/demo-snippet.html">
<link rel="import" href="../lancie-ajax.html">
<script type="module">
import '@polymer/iron-demo-helpers/demo-pages-shared-styles';
import '@polymer/iron-demo-helpers/demo-snippet';
</script>

<style is="custom-style" include="demo-pages-shared-styles">
</style>
<script type="module" src="../lancie-ajax.js"></script>

<custom-style>
<style is="custom-style" include="demo-pages-shared-styles">
</style>
</custom-style>
</head>
<body>
<div class="vertical-section-container centered">
Expand Down
13 changes: 6 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">

<meta http-equiv="refresh" content="0;url=demo/" />
<title>lancie-ajax</title>

<script src="../webcomponentsjs/webcomponents-lite.js"></script>

<link rel="import" href="../iron-component-page/iron-component-page.html">
</head>
<body>
<iron-component-page src="lancie-ajax.html"></iron-component-page>
<!--
Visit demo/index.html to see live examples of your element running.
This page will automatically redirect you there when run in the browser
with `polymer serve`.
-->
</body>
</html>
160 changes: 0 additions & 160 deletions lancie-ajax.html

This file was deleted.

Loading

0 comments on commit 111f14b

Please sign in to comment.