Skip to content
Permalink
Browse files

Release v1.2.0

  • Loading branch information
fczbkk committed Nov 13, 2018
1 parent fb6b9b3 commit ff7bf8f0e16ccbd177a634108146281b2bb62831
Showing with 16 additions and 6 deletions.
  1. +13 −0 CHANGELOG.md
  2. +0 −3 build/css-selector-generator.js
  3. +2 −2 build/css-selector-generator.min.js
  4. +1 −1 package.json
@@ -1,3 +1,16 @@
<a name="1.2.0"></a>
# [1.2.0](https://github.com/fczbkk/css-selector-generator/compare/v1.1.0...v1.2.0) (2018-11-13)


### Features

* Added attribute_whitelist and attribute_blacklist ([6cea39f](https://github.com/fczbkk/css-selector-generator/commit/6cea39f))
* added id_blacklist, class_blacklist to options ([d2ac0ec](https://github.com/fczbkk/css-selector-generator/commit/d2ac0ec))
* added prefix_tag option ([649bc14](https://github.com/fczbkk/css-selector-generator/commit/649bc14))
* Added quote_attribute_when_needed option ([15e783f](https://github.com/fczbkk/css-selector-generator/commit/15e783f))



<a name="1.1.0"></a>
# [1.1.0](https://github.com/fczbkk/css-selector-generator/compare/v1.0.4...v1.1.0) (2018-08-14)

@@ -6,7 +6,6 @@
CssSelectorGenerator.prototype.default_options = {
selectors: ['id', 'class', 'tag', 'nthchild'],
prefix_tag: false,
log: false,
attribute_blacklist: [],
attribute_whitelist: [],
quote_attribute_when_needed: false,
@@ -128,8 +127,6 @@
};

CssSelectorGenerator.prototype.notInList = function(item, list) {
var log;
log = this.options.log;
return !list.find(function(x) {
if (typeof x === 'string') {
return x === item;

Some generated files are not rendered by default. Learn more.

@@ -1,7 +1,7 @@
{
"name": "css-selector-generator",
"title": "CSS Selector Generator",
"version": "1.1.0",
"version": "1.2.0",
"description": "JavaScript object that creates unique CSS selector for given element.",
"author": "Riki Fridrich <riki@fczbkk.com> (http://fczbkk.com)",
"license": "UNLICENSE",

0 comments on commit ff7bf8f

Please sign in to comment.
You can’t perform that action at this time.