Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am #207

Open
wants to merge 28 commits into
base: 2.0.0-alpha
Choose a base branch
from
Open

I am #207

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a73e14c
updating v2 for alpha
csuwildcat Aug 30, 2017
921d487
Updating file names and gulp tasks
csuwildcat Aug 30, 2017
efccde3
updating plugin file structure and gulp tasks
csuwildcat Aug 31, 2017
3298dcb
updates to v2
csuwildcat Sep 29, 2017
1e57c05
Test updated for existing, non-upgraded elements
csuwildcat Oct 6, 2017
f56f44a
Moving ctor child/attr manip to async Promise hook
csuwildcat Oct 14, 2017
461da29
alpha cut
csuwildcat Mar 26, 2018
c24adb9
Merge pull request #194 from x-tag/v2
csuwildcat Mar 26, 2018
a48d98a
Pushing package changes
csuwildcat Mar 26, 2018
470ad15
Merge pull request #195 from x-tag/v2
csuwildcat Mar 26, 2018
d94f4a2
Updates to package files and readme
csuwildcat Mar 27, 2018
aee4809
add render perf features - throttling, rxns, etc. WIP for HyperHTML
csuwildcat Apr 1, 2018
59f51ab
dist updates
csuwildcat Apr 1, 2018
11e288c
2.0.2-alpha push
csuwildcat Apr 1, 2018
0cf0dee
fix attr/regex bug
csuwildcat Apr 2, 2018
3ea5d2b
Push new dists
csuwildcat Apr 2, 2018
52174bf
new alpha
csuwildcat Apr 2, 2018
98ddf91
Fix for camel-to-dash attribute auto-linkage
csuwildcat Apr 2, 2018
02af6dc
fix event issue, push new alpha
csuwildcat Apr 2, 2018
00dabc5
bump
csuwildcat Apr 2, 2018
ccf50d9
adding new dist versions
csuwildcat Apr 2, 2018
8bbc2d7
bump version
csuwildcat Apr 2, 2018
e1217ea
fix for events
csuwildcat Apr 7, 2018
2ad9491
beta prep
csuwildcat Oct 25, 2018
fbcaa90
beta tag
csuwildcat Oct 25, 2018
0d67c5f
Custom event code mod + PEP polyfill update
csuwildcat Feb 27, 2019
fe457b0
Fix for custom even firing
csuwildcat Feb 27, 2019
1861ac5
update package version strings
csuwildcat Mar 10, 2019
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: 0 additions & 8 deletions .jshintrc

This file was deleted.

10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"cSpell.words": [
"exts",
"firstpaint"
]
}
135 changes: 0 additions & 135 deletions Gruntfile.js

This file was deleted.

26 changes: 9 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@

[![Join the chat at https://gitter.im/x-tag/core](https://badges.gitter.im/x-tag/core.svg)](https://gitter.im/x-tag/core?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Bower version](https://badge.fury.io/bo/x-tag-core.svg)](http://badge.fury.io/bo/x-tag-core)

[![NPM version](https://badge.fury.io/js/x-tag.svg)](https://badge.fury.io/js/x-tag)

[![CDNJS](https://img.shields.io/cdnjs/v/x-tag.svg)](https://cdnjs.com/libraries/x-tag)

**This is the repository for the core [X-Tag](http://x-tag.github.io/) library.**

X-Tag is a Microsoft supported, open source, JavaScript library that wraps the W3C standard Web Components family of APIs to provide a compact, feature-rich interface for rapid component development. While X-Tag offers feature hooks for all Web Component APIs (Custom Elements, Shadow DOM, Templates, and HTML Imports), it only requires [Custom Element][1] support to operate. In the absence of native Custom Element support, X-Tag uses a set of polyfills shared with Google's Polymer framework.
X-Tag is a Microsoft supported, open source, JavaScript library that wraps the W3C standard Web Components family of APIs to provide a compact, feature-rich interface for rapid component development. While X-Tag offers feature hooks for all Web Component APIs (Custom Elements, Shadow DOM, HTML Templates), it only requires [Custom Element][1] support to operate. In the absence of native Custom Element support, X-Tag relies on the same set of polyfills Google's Polymer framework uses.

You can find out more about what X-Tag does, where it works, and how to use it, on the project page: [x-tag.github.io](http://x-tag.github.io/).

[1]: https://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html "W3 Web Components Spec (Draft)"
[1]: http://w3c.github.io/webcomponents/spec/custom/ "W3 Web Components Spec (Draft)"

## Snag X-Tag from NPM

Expand All @@ -30,11 +28,9 @@ To get started hacking on X-Tag core:
git clone https://github.com/x-tag/core x-tag-core --recursive
cd x-tag-core
npm install # installs all the required dependencies using package.json
grunt build # outputs x-tag-core.js and x-tag-core.min.js to ./dist
gulp all # outputs x-tag-core.js and x-tag-core.min.js to ./dist
````

If you are interested in building your own custom elements, you can use our [web-component-stub](https://github.com/x-tag/web-component-stub) as a starting point.

## Updating

If you already cloned the library and want to update your build with changes to Core, do:
Expand All @@ -43,14 +39,14 @@ If you already cloned the library and want to update your build with changes to
cd x-tag-core
git pull origin master
npm install
grunt build
gulp all
````

This assumes you just cloned the library and its remote repository is labelled `origin`. Suppose you had your own fork where your own remote is `origin`; you should add another remote origin and label it as `upstream`. Then your `git pull` line would need to be `git pull upstream master` instead.

## Tests

We use Jasmine to test the library, and you can verify it works as expected by opening [test/index.html](test/index.html) in your browser to run the tests.
We use Jasmine to test the library, and you can verify it works as expected by opening [tests/core/index.html](tests/core/index.html) in your browser to run the tests.


## Regenerating the distributable build
Expand All @@ -60,16 +56,12 @@ In the interest of not reinventing the wheel, X-Tag core uses a few existing lib
If you make changes on the library and want to regenerate the build, just run

````bash
grunt build
gulp all
````

and both `x-tag-core.js` and `x-tag-core.min.js` will be rebuilt and placed in the `./dist` directory.


## Creating your own web components
and both `x-tag-raw.js` and `x-tag-polyfilled.js` will be rebuilt, minified, and placed in the `./dist` directory.

To learn more about X-Tags visit [x-tag.github.io/docs](http://x-tag.github.io/docs).

To create your own component, use our [web-component-stub](https://github.com/x-tag/web-component-stub).
## Creating your own Web Components

Share your components by adding them to the [Custom Elements Registry](http://customelements.io/) or Bower.
To learn more about X-Tags visit [x-tag.github.io/docs](http://x-tag.github.io/docs).
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "x-tag-core",
"description": "X-Tag core library for creating custom elements as defined by the w3c Web Components spec.",
"version": "1.5.11",
"version": "2.0.3-beta",
"keywords": [
"web-components",
"core",
"library",
"x-tag"
],
"main": [
"dist/x-tag-core.js"
"dist/x-tag-polyfilled.js"
]
}
1 change: 1 addition & 0 deletions dist/plugins/attributes/src.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/plugins/events/tap.js

Large diffs are not rendered by default.

Loading