primate 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "primate",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "author": "Primate core team <core@primatejs.com>",
5
5
  "homepage": "https://primatejs.com",
6
6
  "bugs": "https://github.com/primatejs/primate/issues",
7
7
  "repository": "https://github.com/primatejs/primate",
8
- "description": "Server-client framework",
8
+ "description": "Full-stack JavaScript framework",
9
9
  "license": "BSD-3-Clause",
10
10
  "scripts": {
11
11
  "copy": "rm -rf output && mkdir output && cp source/* output -a",
@@ -164,9 +164,8 @@ export default class Node {
164
164
  this.text = fulfilled;
165
165
  }
166
166
  break;
167
- case "data-href":
168
- fulfill(this.attributes[attribute], this.data);
169
- this.attributes.href = fulfilled;
167
+ default:
168
+ this.attributes[attribute.slice(5)] = fulfilled;
170
169
  break;
171
170
  }
172
171
  delete this.attributes[attribute];