Skip to content

Commit

Permalink
Remove imageloaded dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
florentb committed May 19, 2016
1 parent cc016cf commit 56ef74c
Show file tree
Hide file tree
Showing 12 changed files with 140 additions and 944 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.json]
[*.json,*.yml]
indent_size = 2
indent_style = space

Expand Down
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
sudo: false
language: node_js
node_js:
- 0.10
- '6'
deploy:
provider: npm
email: florent@creative-area.net
api_key:
secure: Ow8Bx92THFwrFjKAdJ1rpK07tr01k8ScUiptK1RsO09eNBVoHRqAyHjRrvwJBvXxkeJ26rqfG/Upm2pY0BXwc6u+UdiJmgSQE4Bws+PXU38kMuni7qgd+0ftMRcOQPzycWNaRIqPRuikxK/FY7h2ITRrwpY2fxDpgK/1rxrYQaGZVbkE5vmXbZyQGlxaB9UEOuW1ROPwQSVFDpinA/YCKLwOUvsAeQtxDFnKVIsUk00aJeDE/nWL+68DpGiOn5H6yMOrW1azJ/zWz48bXJnsbp+lFYS3t6mmWg2rfHX/0oNCNcAulNTdQ4p8f5v/xRyRBbRQjM0YBxZYUPPg6pf3oPrHgRYi4rjchiRYdIGoNrxs+BqDTLLIXJjV0a8uBCANWdbS8Lw7vh0cKZCW2agqKZvMEGF8jLz/OmK4rIKnuS9HDcv5vDMlUZU0/FBoKnd3Tg6GFbGkgsTbe4agFuMS13IABOILBwXAAQlnNG4gtVA1hVNVf2sx4hqN60IW+t9LxVtSpKI1BfY+SkBhTV2OgNbrUjRMZTQ0wMKvEc4gXnOIuLadu6wHg08Ez7xq8uXMvr3azrMquyefgyOyojP8wnUlaVvIjqtpoz89P3BLY6y7SCwce1hdaVcQIG+UMCDAZFIdWGRpImAtCGYcwCkAs/wy+xOljshFqsZ8puR2E+M=
on:
tags: true
repo: creative-area/respimg-inspector
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ module.exports = function( grunt ) {
"src/icons/*.png",
"src/chrome/manifest.json",
"src/chrome/background.js",
"dist/respimg-inspector.js",
"bower_components/imagesloaded/imagesloaded.pkgd.js"
"dist/respimg-inspector.js"
],
dest: "dist/chrome/"
} ]
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ Or install via npm: `npm install respimg-inspector`
<script>respImgInspector.init();</script>
```

> Note that **RespImg Inspector** has one dependency ([desandro/imagesloaded](https://github.com/desandro/imagesloaded))
By default, all document's nodes are processed except those:
`span`, `em`, `strong`, `i`, `b`, `big`, `small`, `tt`, `abbr`, `script`, `br`, `hr`, `sub`, `sup`, `button`, `input`, `label`, `select`, `textarea`, `samp`, `var`
`span`, `em`, `strong`, `i`, `b`, `big`, `small`, `tt`, `abbr`, `script`, `br`, `hr`, `sub`, `sup`, `button`, `input`, `label`, `select`, `textarea`, `samp`, `var`, `iframe`

To restrict the scope, you can filter with custom selectors:

Expand Down
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "respimg-inspector",
"version": "0.2.1",
"version": "0.2.2",
"homepage": "https://github.com/creative-area/respimg-inspector",
"authors": [
"Florent Bourgeois"
Expand All @@ -15,7 +15,6 @@
],
"license": "MIT",
"dependencies": {
"imagesloaded": "~3.1.8"
},
"ignore": [
"**/.*",
Expand Down
Loading

0 comments on commit 56ef74c

Please sign in to comment.