Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{
"extends": [
"plugin:github/browser",
"plugin:github/es6",
"plugin:github/flow"
"plugin:github/recommended",
"plugin:github/typescript"
],
"parser": "babel-eslint",
"overrides": [
{
"files": "test/**/*.js",
"rules": {
"flowtype/require-valid-file-annotation": "off",
"github/unescaped-html-literal": "off"
}
},
{
"files": "test/**/*.js",
"excludedFiles": "test/karma.config.js",
"excludedFiles": "test/karma.config.cjs",
"env": {
"mocha": true
},
Expand Down
9 changes: 0 additions & 9 deletions .flowconfig

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Node CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: npm install, build, and test
run: |
npm it
env:
CI: true
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @github/web-systems-reviewers
18 changes: 6 additions & 12 deletions examples/polymer.html → examples/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- For Reflect.construct -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.34.2/es6-shim.min.js"></script>
<!-- For CustomEvent -->
<script type="text/javascript" src="https://unpkg.com/@webcomponents/[email protected]/webcomponents-platform.js"></script>
<!-- For Template -->
<script type="text/javascript" src="https://unpkg.com/@webcomponents/[email protected]/template.js"></script>
<!-- For HTML Imports and Custom Elements -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.0.22/webcomponents-hi-ce.js"></script>
<title>time elements</title>
</head>
<body>
<h2>Past Date</h2>
Expand Down Expand Up @@ -86,17 +79,18 @@ <h2>Future Date</h2>

<p>
Time until:
<time-until datetime="2017-01-01T00:00:00.000Z">
<time-until datetime="2020-12-31T00:00:00-05:00">
Oops! This browser doesn't support Web Components.
</time-until>
</p>

<p>
Time until (micro format):
<time-until format="micro" datetime="2017-01-01T00:00:00.000Z">
<time-until format="micro" datetime="2020-12-31T00:00:00-05:00">
Oops! This browser doesn't support Web Components.
</time-until>
</p>
<script src="../dist/time-elements-legacy.js"></script>
<!-- <script type="module" src="../dist/index.js"></script> -->
<script type="module" src="https://unpkg.com/@github/time-elements@latest?module"></script>
</body>
</html>
30 changes: 0 additions & 30 deletions index.d.ts

This file was deleted.

Loading