Skip to content

Commit 05ef562

Browse files
committed
build v2.0.14
1 parent 4e0b1c3 commit 05ef562

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Links
1010

1111
Download
1212
-----
13-
- [https://github.com/JamiLu/RME/releases/download/v2.0.13/rme.js](https://github.com/JamiLu/RME/releases/download/v2.0.13/rme.js)
14-
- [https://github.com/JamiLu/RME/releases/download/v2.0.13/rme.es5.js](https://github.com/JamiLu/RME/releases/download/v2.0.13/rme.es5.js)
15-
- [https://github.com/JamiLu/RME/releases/download/v2.0.13/rme.es5.min.js](https://github.com/JamiLu/RME/releases/download/v2.0.13/rme.es5.min.js)
13+
- [https://github.com/JamiLu/RME/releases/download/v2.0.14/rme.js](https://github.com/JamiLu/RME/releases/download/v2.0.14/rme.js)
14+
- [https://github.com/JamiLu/RME/releases/download/v2.0.14/rme.es5.js](https://github.com/JamiLu/RME/releases/download/v2.0.14/rme.es5.js)
15+
- [https://github.com/JamiLu/RME/releases/download/v2.0.14/rme.es5.min.js](https://github.com/JamiLu/RME/releases/download/v2.0.14/rme.es5.min.js)
1616

1717
NPM
1818
---
@@ -51,7 +51,7 @@ Basics
5151

5252
Download a script file and place it to a project folder or simply use a github online url as follows.
5353

54-
`<script src="https://github.com/JamiLu/RME/releases/download/v2.0.13/rme.es5.min.js"></script>`
54+
`<script src="https://github.com/JamiLu/RME/releases/download/v2.0.14/rme.es5.min.js"></script>`
5555

5656
__Or use NPM__
5757

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rme.js",
3-
"version": "2.0.13",
3+
"version": "2.0.14",
44
"description": "Functional JavaScript library for HTML 5 web sites.",
55
"main": "./src/index.js",
66
"keywords": [

rme-build-current/rme.es5.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5815,11 +5815,11 @@ var RMETemplateResolver = function () {
58155815
resolved = obj; // for component parent element
58165816
}
58175817
match = tag.match(/[a-z0-9]+\#[a-zA-Z0-9\-]+/); //find id
5818-
if (!Util.isEmpty(match)) resolved.setId(match.join().replace(/[a-z0-9]+\#/g, ""));
5819-
match = this.cutAttributesIfFound(tag).match(/\.[a-zA-Z-0-9\-]+/g); //find classes
5820-
if (!Util.isEmpty(match)) resolved.addClasses(match.join(" ").replace(/\./g, ""));
5818+
if (Util.notEmpty(match)) resolved.setId(match.join().replace(/[a-z0-9]+\#/g, ""));
5819+
match = this.cutAttributesIfFound(tag).match(/\.[a-zA-Z-0-9_\-]+/g); //find classes
5820+
if (Util.notEmpty(match)) resolved.addClasses(match.join(" ").replace(/\./g, ""));
58215821
match = tag.match(/\[[a-zA-Z0-9\= \:\(\)\#\-\_\/\.&%@!?£$+¤|;\\<\\>\\{}"]+\]/g); //find attributes
5822-
if (!Util.isEmpty(match)) resolved = Template.addAttributes(resolved, match);
5822+
if (Util.notEmpty(match)) resolved = Template.addAttributes(resolved, match);
58235823
return resolved;
58245824
}
58255825

rme-build-current/rme.es5.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rme-build-current/rme.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5085,15 +5085,15 @@ const RMETemplateResolver = (function() {
50855085
}
50865086

50875087
match = tag.match(/[a-z0-9]+\#[a-zA-Z0-9\-]+/); //find id
5088-
if (!Util.isEmpty(match))
5088+
if (Util.notEmpty(match))
50895089
resolved.setId(match.join().replace(/[a-z0-9]+\#/g, ""));
50905090

5091-
match = this.cutAttributesIfFound(tag).match(/\.[a-zA-Z-0-9\-]+/g); //find classes
5092-
if (!Util.isEmpty(match))
5091+
match = this.cutAttributesIfFound(tag).match(/\.[a-zA-Z-0-9_\-]+/g); //find classes
5092+
if (Util.notEmpty(match))
50935093
resolved.addClasses(match.join(" ").replace(/\./g, ""));
50945094

50955095
match = tag.match(/\[[a-zA-Z0-9\= \:\(\)\#\-\_\/\.&%@!?£$+¤|;\\<\\>\\{}"]+\]/g); //find attributes
5096-
if (!Util.isEmpty(match))
5096+
if (Util.notEmpty(match))
50975097
resolved = Template.addAttributes(resolved, match);
50985098

50995099
return resolved;

0 commit comments

Comments
 (0)