Skip to content

Commit

Permalink
update v3.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
autarc committed Nov 7, 2016
1 parent 0ef0ac8 commit 8616b9b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# [v3.4.2]
> November 7, 2016
# [v3.4.3]
> November 8, 2016
- improve browser compatibility
- add workaround for [non-standard NamedNodeMap behaviour](https://github.com/ariya/phantomjs/issues/14634)


## [v3.4.1]
Expand Down
4 changes: 3 additions & 1 deletion dist/optimal-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,9 @@ return /******/ (function(modules) { // webpackBootstrap
var attributes = Object.keys(elementAttributes).reduce(function (attributes, key) {
var attribute = elementAttributes[key];
var attributeName = attribute.name;
if (attributeName !== 'class') {
// NOTE: workaround detection for non-standard phantomjs NamedNodeMap behaviour
// (issue: https://github.com/ariya/phantomjs/issues/14634)
if (attribute && attributeName !== 'class') {
attributes[attributeName] = attribute.value;
}
return attributes;
Expand Down
2 changes: 1 addition & 1 deletion dist/optimal-select.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/optimal-select.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "optimal-select",
"description": "Get efficient & robust CSS selectors for HTML elements",
"version": "3.4.2",
"version": "3.4.3",
"author": "Stefan Dühring | Autarc <[email protected]>",
"bugs": {
"url": "https://github.com/Autarc/optimal-select/issues"
Expand Down

0 comments on commit 8616b9b

Please sign in to comment.