File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111Download
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
1717NPM
1818---
5151
5252Download 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
Original file line number Diff line number Diff line change 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" : [
Original file line number Diff line number Diff line change @@ -5815,11 +5815,11 @@ var RMETemplateResolver = function () {
58155815 resolved = obj ; // for component parent element
58165816 }
58175817 match = tag . match ( / [ a - z 0 - 9 ] + \# [ a - z A - Z 0 - 9 \- ] + / ) ; //find id
5818- if ( ! Util . isEmpty ( match ) ) resolved . setId ( match . join ( ) . replace ( / [ a - z 0 - 9 ] + \# / g, "" ) ) ;
5819- match = this . cutAttributesIfFound ( tag ) . match ( / \. [ a - z A - 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 - z 0 - 9 ] + \# / g, "" ) ) ;
5819+ match = this . cutAttributesIfFound ( tag ) . match ( / \. [ a - z A - Z - 0- 9 _ \- ] + / g) ; //find classes
5820+ if ( Util . notEmpty ( match ) ) resolved . addClasses ( match . join ( " " ) . replace ( / \. / g, "" ) ) ;
58215821 match = tag . match ( / \[ [ a - z A - Z 0 - 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
Original file line number Diff line number Diff line change @@ -5085,15 +5085,15 @@ const RMETemplateResolver = (function() {
50855085 }
50865086
50875087 match = tag . match ( / [ a - z 0 - 9 ] + \# [ a - z A - Z 0 - 9 \- ] + / ) ; //find id
5088- if ( ! Util . isEmpty ( match ) )
5088+ if ( Util . notEmpty ( match ) )
50895089 resolved . setId ( match . join ( ) . replace ( / [ a - z 0 - 9 ] + \# / g, "" ) ) ;
50905090
5091- match = this . cutAttributesIfFound ( tag ) . match ( / \. [ a - z A - Z - 0- 9 \- ] + / g) ; //find classes
5092- if ( ! Util . isEmpty ( match ) )
5091+ match = this . cutAttributesIfFound ( tag ) . match ( / \. [ a - z A - Z - 0- 9 _ \- ] + / g) ; //find classes
5092+ if ( Util . notEmpty ( match ) )
50935093 resolved . addClasses ( match . join ( " " ) . replace ( / \. / g, "" ) ) ;
50945094
50955095 match = tag . match ( / \[ [ a - z A - Z 0 - 9 \= \: \( \) \# \- \_ \/ \. & % @ ! ? £ $ + ¤ | ; \\ < \\ > \\ { } " ] + \] / g) ; //find attributes
5096- if ( ! Util . isEmpty ( match ) )
5096+ if ( Util . notEmpty ( match ) )
50975097 resolved = Template . addAttributes ( resolved , match ) ;
50985098
50995099 return resolved ;
You can’t perform that action at this time.
0 commit comments