Skip to content

Commit

Permalink
Release v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Specro committed Oct 26, 2016
1 parent aea53a2 commit 1dd4ef7
Show file tree
Hide file tree
Showing 23 changed files with 169 additions and 285 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Change Log

## [Unreleased]

## [1.3.1] - 2016-10-26
### Added
- Error if first argument is not an array or a string
- Tests

### Changed
- Compressed SVG filters to one line

### Fixed
- Default SVG filter generating wrong CSS
- Empty SVG element returned if no SVG was generated
- CLI: Saving SVG when no SVG was generated

## [1.3.0] - 2016-10-25
### Added
- Node module
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Philter v1.3.0
# Philter v1.3.1
Philter is a JS plugin giving you the power to control CSS filters with HTML data attributes.
Visit the [Demo page](http://specro.github.io/Philter/) for examples.

Expand Down
8 changes: 5 additions & 3 deletions bin/philter.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ let html = program.html?program.args[0]:program.args
philter(html, {tag:!program.noTag}, (css, svg) => {
saveData(program.css, css, 'css', (dir) => {
console.log(`CSS saved to ${dir}`)
saveData(program.svg, svg, 'svg', (dir) => {
console.log(`SVG saved to ${dir}`)
})
if (svg) {
saveData(program.svg, svg, 'svg', (dir) => {
console.log(`SVG saved to ${dir}`)
})
}
})
})

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "philter",
"description": "Philter is a jQuery plugin giving you the power to control CSS filters with HTML attributes",
"description": "Philter is a JS plugin giving you the power to control CSS filters with HTML attributes",
"main": "dist/philter.js",
"moduleType": "globals",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion dist/philter/philter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Philter v1.3.0 | (c) 2015-2016 Liudas Dzisevicius | MIT License */
/* Philter v1.3.1 | (c) 2015-2016 Liudas Dzisevicius | MIT License */
(function() {

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion dist/philter/philter.min.js

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

5 changes: 1 addition & 4 deletions dist/philter/svg/color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 1 addition & 26 deletions dist/philter/svg/vintage-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 1 addition & 27 deletions dist/philter/svg/vintage-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 1 addition & 15 deletions dist/philter/svg/vintage-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 1 addition & 24 deletions dist/philter/svg/vintage-4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1dd4ef7

Please sign in to comment.