Skip to content

Commit 8b664fb

Browse files
author
Serhii Khoma
authored
Merge branch 'master' into patch-1
2 parents 73c34bf + e611cf4 commit 8b664fb

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ language: node_js
22
dist: trusty
33
sudo: required
44
node_js: stable
5-
env:
6-
- PATH=$HOME/purescript:$PATH
75
install:
8-
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*[Ll]ocation:.*tag\///p')
9-
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10-
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11-
- chmod a+x $HOME/purescript
126
- npm install -g bower
137
- npm install
148
script:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"eslint": "^6.0.1",
99
"pulp": "^13.0.0",
1010
"purescript-psa": "^0.7.3",
11+
"purescript": "^0.13.6",
1112
"rimraf": "^2.6.2"
1213
}
1314
}

src/Web/DOM/Element.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ exports._getAttribute = function (name) {
9494

9595
exports.hasAttribute = function(name) {
9696
return function (element) {
97-
return element.hasAttribute(name);
97+
return function () {
98+
return element.hasAttribute(name);
99+
};
98100
};
99101
};
100102

0 commit comments

Comments
 (0)