Skip to content

Commit

Permalink
Merge pull request #18 from creativelive/bower
Browse files Browse the repository at this point in the history
Adds appear to Bower
  • Loading branch information
JustinBeaudry committed Jun 15, 2018
2 parents 9f01ccb + f42c228 commit 18a61d7
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 7 deletions.
27 changes: 27 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "appear",
"description": "utility to run functions when dom elements are visible",
"main": "appear.js",
"authors": [
"Matthew Hadley (https://github.com/diffsky)"
],
"license": "MIT",
"keywords": [
"detect",
"viewable",
"elements",
"dom",
"lazy",
"load",
"scroll",
"lazyload"
],
"homepage": "https://github.com/creativelive/appear",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
3 changes: 2 additions & 1 deletion dist/appear.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* appear.js 1.0.3 */
/* appear.js 1.1.0 */
appear = (function(){
'use strict';
var scrollLastPos = null, scrollTimer = 0, scroll = {};
Expand Down Expand Up @@ -206,6 +206,7 @@ appear = (function(){
// add an event listener to init when dom is ready
addEventListener('DOMContentLoaded', init, false);

// http://stackoverflow.com/questions/9900311/how-do-i-target-only-internet-explorer-10-for-certain-situations-like-internet-e/13971998#13971998
var isIE10 = false;
if (Function('/*@cc_on return document.documentMode===10@*/')()){
isIE10 = true;
Expand Down
4 changes: 2 additions & 2 deletions dist/appear.min.js

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

2 changes: 1 addition & 1 deletion dist/appearlazy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* appearlazy.js 1.0.3 */
/* appearlazy.js 1.1.0 */
appear(
(function() {
'use strict';
Expand Down
4 changes: 2 additions & 2 deletions dist/appearlazy.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "appear",
"version": "1.0.3",
"version": "1.1.0",
"description": "utility to run functions when dom elements are visible",
"kewords": "detect viewable elements dom lazy load scroll ",
"main": "appear.js",
Expand Down

0 comments on commit 18a61d7

Please sign in to comment.