Kristján Oddsson
df715a8f58
inline eslint test config file to root one
2019-02-25 13:33:35 +00:00
Kristján Oddsson
c782480cea
update babel core
2019-02-25 13:26:32 +00:00
Kristján Oddsson
6e57a899f0
update eslint and mocha
2019-02-25 13:24:02 +00:00
Kristján Oddsson
ff2d4d6227
drop ie11 support
2019-02-25 13:19:39 +00:00
Kristján Oddsson
ff224fcbc3
use babel-preset-github
2019-02-25 13:18:59 +00:00
David Graham
78f7a5d447
Update build toolchain to Babel 7.0
2019-02-13 14:43:54 -07:00
David Graham
7e325bd9e8
Update development dependencies
2019-02-13 12:15:17 -07:00
Kristján Oddsson
53d9067d27
4.1.2
2018-11-06 17:46:44 +00:00
Kristján Oddsson
d25567b94f
Merge pull request #41 from github/fix-eslint-errors
...
Fix eslint errors
2018-11-06 17:45:45 +00:00
Kristján Oddsson
f381df62a4
move inline eslint configuration into .eslintrc.json files
2018-11-06 17:28:29 +00:00
Kristján Oddsson
ad6f2c7fb4
update lockfile
2018-11-06 17:07:22 +00:00
Kristján Oddsson
dd1d94d442
Merge pull request #40 from github/event-construction
...
use `Event` constructor instead of `event.initEvent`
2018-11-06 17:02:24 +00:00
Kristján Oddsson
07479ae453
use `Event` constructor instead of `event.initEvent`
2018-11-06 14:44:17 +00:00
David Graham
bf85407fd6
Update development dependencies
2018-08-21 15:48:56 -06:00
David Graham
40b86b06e1
Combine browser support preamble
2018-06-28 16:08:04 -06:00
David Graham
e2ed7ecfe6
Document how src attribute initiates server fetch
2018-06-28 16:05:24 -06:00
David Graham
1f90b2d142
Document request lifecycle events
2018-06-28 15:56:31 -06:00
David Graham
2360f4c2d8
Link to custom element support table and polyfill
2018-06-28 15:46:47 -06:00
David Graham
2039ffeafd
4.1.1
2018-05-15 13:56:39 -06:00
David Graham
4aa5d0ff6a
Merge pull request #37 from github/flow
...
Add Flow type definitions
2018-05-15 13:55:14 -06:00
David Graham
53871022fb
Include flow types in package
2018-05-15 11:37:54 -06:00
David Graham
bb284c312d
Add Flow type definitions
2018-05-15 11:32:55 -06:00
David Graham
58cffaba13
Export the class as default
2018-05-15 11:32:12 -06:00
David Graham
4df9d15818
Update development dependencies
2018-05-15 10:45:35 -06:00
Keith Cirkel
d984aca252
4.1.0
2018-05-11 15:07:36 +01:00
Keith Cirkel
9480726821
Merge pull request #36 from github/output-es-build
...
feat: output ES module build for tools like Rollup
2018-05-11 15:06:38 +01:00
Keith Cirkel
b1c135f292
feat: output ES module build for tools like Rollup
2018-05-11 14:39:48 +01:00
David Graham
0f9d2d02de
Merge pull request #35 from github/travis
...
Automate Travis builds
2018-04-02 09:36:24 -06:00
David Graham
7a83f22e06
Add Travis CI configuration
2018-03-30 16:45:38 -06:00
David Graham
1b4a2bc4e0
Remove unused bower directory
2018-03-30 16:42:28 -06:00
David Graham
5bb96a23c3
Build before running karma tests
...
The test suite depends on the dist/ files. Running `npm test` after a
fresh git clone will fail unless `npm run build` is run first.
2018-03-30 16:33:47 -06:00
David Graham
0ea91ae2af
Fail build if lint fails
2018-03-30 16:32:52 -06:00
David Graham
d50c21a6b4
2018
2018-03-30 16:29:21 -06:00
David Graham
04a978508c
Simplify repository field
2018-03-30 16:28:17 -06:00
David Graham
36b6ac572f
Update development dependencies
2018-03-30 16:25:09 -06:00
David Graham
c8af86d0b0
Update npm installation instructions
2018-03-30 16:06:21 -06:00
Colt Pini
892fce8dbb
Merge pull request #34 from github/lazyload
...
Fixed tests and a few changes:
2018-02-22 09:01:38 -06:00
Colt Pini
1f28cc28ed
Changed checkAsync to a much better promise based solution, thanks mislav, and removed a few missed lazyloads in the js.
2018-02-21 12:54:59 -06:00
Colt Pini
3d31691066
moved the version to a patch
2018-02-20 14:51:50 -06:00
Colt Pini
5f71a8bd92
Removed the lazyload prop in favor of the data-src to src pattern.
2018-02-20 14:43:27 -06:00
Colt Pini
4aa99bec08
created a lazyload param:
...
- removed the getdata call in the constructor to allow for lazyloading
the data.
- moved the getdata call into the handledata function to consolidate the
calls and make the function a little simpler.
- removed self = this to make the load function simpler
- when the lazyload prop is set it will defer loading until the get()
function is called. This will allow lazy loading to be called by what
means needed, either a button click or if the element comes into the
viewport. This will allow this component to remain simple and prefer
composition to bloat.
- fixed the tests to run async and cleared DOM after each test.
- ticked the version number to a minor update.
2018-02-20 14:15:11 -06:00
Mu-An ✌️ Chiou
81d26fc439
4.0.0
2018-01-16 14:26:30 +08:00
Mu-An ✌️ Chiou
a37b1177e4
Update browser support to match CE polyfill
2018-01-16 14:03:33 +08:00
muan
2f3a83c552
Merge pull request #32 from github/v1
...
Use Custom Elements v1 API
2018-01-11 09:51:16 +08:00
Mu-An ✌️ Chiou
5505870141
Keep getData as a free floating private module function
2018-01-10 15:40:22 +08:00
Mu-An ✌️ Chiou
36daacbe0a
Undo arg order change
2018-01-10 15:36:03 +08:00
Mu-An ✌️ Chiou
5cc2a6cc6e
Undo underscore naming convention
2018-01-10 15:34:40 +08:00
Mu-An ✌️ Chiou
bf8f1f7eae
Fix test
2018-01-08 19:13:03 +08:00
Mu-An ✌️ Chiou
7f8c24f71a
Merge branch 'master' into v1
2018-01-08 19:08:03 +08:00
Mu-An ✌️ Chiou
687efa2ad7
Update polyfill requirements
2018-01-08 19:05:27 +08:00