Skip to content

Commit eaaac02

Browse files
committed
Update dist files.
1 parent 413b0be commit eaaac02

File tree

5 files changed

+157
-20
lines changed

5 files changed

+157
-20
lines changed

dist/node-parserlib.js

+23-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
*/
23-
/* Version v1.0.0, Build time: 15-July-2016 12:36:10 */
23+
/* Version v1.1.0, Build time: 6-December-2016 10:31:29 */
2424
var parserlib = (function () {
2525
var require;
2626
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
@@ -1238,6 +1238,8 @@ Parser.prototype = function() {
12381238
this._document();
12391239
} else if (tokenStream.peek() === Tokens.SUPPORTS_SYM) {
12401240
this._supports();
1241+
} else if (tokenStream.peek() === Tokens.MEDIA_SYM) {
1242+
this._media();
12411243
} else if (!this._ruleset()) {
12421244
break;
12431245
}
@@ -3272,6 +3274,7 @@ var Properties = module.exports = {
32723274
"align-items" : "flex-start | flex-end | center | baseline | stretch",
32733275
"align-content" : "flex-start | flex-end | center | space-between | space-around | stretch",
32743276
"align-self" : "auto | flex-start | flex-end | center | baseline | stretch",
3277+
"all" : "initial | inherit | unset",
32753278
"-webkit-align-items" : "flex-start | flex-end | center | baseline | stretch",
32763279
"-webkit-align-content" : "flex-start | flex-end | center | space-between | space-around | stretch",
32773280
"-webkit-align-self" : "auto | flex-start | flex-end | center | baseline | stretch",
@@ -3317,7 +3320,12 @@ var Properties = module.exports = {
33173320
"-o-animation-name" : "[ none | <single-animation-name> ]#",
33183321
"-o-animation-play-state" : "[ running | paused ]#",
33193322

3320-
"appearance" : "icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal | none",
3323+
"appearance" : "none | auto",
3324+
"-moz-appearance" : "none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",
3325+
"-ms-appearance" : "none | icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal",
3326+
"-webkit-appearance" : "none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | listbox | listitem | media-fullscreen-button | media-mute-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical",
3327+
"-o-appearance" : "none | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal",
3328+
33213329
"azimuth" : "<azimuth>",
33223330

33233331
//B
@@ -3688,7 +3696,10 @@ var Properties = module.exports = {
36883696
"text-align" : "left | right | center | justify | match-parent | start | end",
36893697
"text-align-last" : 1,
36903698
"text-anchor" : "start | middle | end",
3691-
"text-decoration" : "<text-decoration>",
3699+
"text-decoration" : "<text-decoration-line> || <text-decoration-style> || <text-decoration-color>",
3700+
"text-decoration-color" : "<text-decoration-color>",
3701+
"text-decoration-line" : "<text-decoration-line>",
3702+
"text-decoration-style" : "<text-decoration-style>",
36923703
"text-emphasis" : 1,
36933704
"text-height" : 1,
36943705
"text-indent" : "<length> | <percentage>",
@@ -4031,6 +4042,7 @@ function PropertyValuePart(text, line, col, optionalHint) {
40314042
case "deg":
40324043
case "rad":
40334044
case "grad":
4045+
case "turn":
40344046
this.type = "angle";
40354047
break;
40364048

@@ -5162,7 +5174,7 @@ TokenStream.prototype = mix(new TokenStreamBase(), {
51625174

51635175
if (/^em$|^ex$|^px$|^gd$|^rem$|^vw$|^vh$|^vmax$|^vmin$|^ch$|^cm$|^mm$|^in$|^pt$|^pc$/i.test(ident)) {
51645176
tt = Tokens.LENGTH;
5165-
} else if (/^deg|^rad$|^grad$/i.test(ident)) {
5177+
} else if (/^deg|^rad$|^grad$|^turn$/i.test(ident)) {
51665178
tt = Tokens.ANGLE;
51675179
} else if (/^ms$|^s$/i.test(ident)) {
51685180
tt = Tokens.TIME;
@@ -5547,7 +5559,6 @@ TokenStream.prototype = mix(new TokenStreamBase(), {
55475559
}
55485560
});
55495561

5550-
55515562
},{"../util/TokenStreamBase":27,"./PropertyValuePart":11,"./Tokens":18}],18:[function(require,module,exports){
55525563
"use strict";
55535564

@@ -6305,9 +6316,15 @@ copy(ValidationTypes, {
63056316
Matcher.many([true /* length is required */],
63066317
Matcher.cast("<length>").braces(2, 4), "inset", "<color>"),
63076318

6308-
"<text-decoration>":
6319+
"<text-decoration-color>":
6320+
"<color>",
6321+
6322+
"<text-decoration-line>":
63096323
"none | [ underline || overline || line-through || blink ]",
63106324

6325+
"<text-decoration-style>":
6326+
"solid | double | dotted | dashed | wavy",
6327+
63116328
"<will-change>":
63126329
"auto | <animateable-feature>#",
63136330

dist/parserlib-core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
*/
23-
/* Version v1.0.0, Build time: 15-July-2016 12:36:10 */
23+
/* Version v1.1.0, Build time: 6-December-2016 10:31:29 */
2424
var parserlib = (function () {
2525
var require;
2626
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"parserlib-core":[function(require,module,exports){

dist/parserlib-css.js

+23-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
*/
23-
/* Version v1.0.0, Build time: 15-July-2016 12:36:10 */
23+
/* Version v1.1.0, Build time: 6-December-2016 10:31:29 */
2424
(function () {
2525
var require = parserlib._require;
2626
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"parserlib":[function(require,module,exports){
@@ -630,6 +630,8 @@ Parser.prototype = function() {
630630
this._document();
631631
} else if (tokenStream.peek() === Tokens.SUPPORTS_SYM) {
632632
this._supports();
633+
} else if (tokenStream.peek() === Tokens.MEDIA_SYM) {
634+
this._media();
633635
} else if (!this._ruleset()) {
634636
break;
635637
}
@@ -2912,6 +2914,7 @@ var Properties = module.exports = {
29122914
"align-items" : "flex-start | flex-end | center | baseline | stretch",
29132915
"align-content" : "flex-start | flex-end | center | space-between | space-around | stretch",
29142916
"align-self" : "auto | flex-start | flex-end | center | baseline | stretch",
2917+
"all" : "initial | inherit | unset",
29152918
"-webkit-align-items" : "flex-start | flex-end | center | baseline | stretch",
29162919
"-webkit-align-content" : "flex-start | flex-end | center | space-between | space-around | stretch",
29172920
"-webkit-align-self" : "auto | flex-start | flex-end | center | baseline | stretch",
@@ -2957,7 +2960,12 @@ var Properties = module.exports = {
29572960
"-o-animation-name" : "[ none | <single-animation-name> ]#",
29582961
"-o-animation-play-state" : "[ running | paused ]#",
29592962

2960-
"appearance" : "icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal | none",
2963+
"appearance" : "none | auto",
2964+
"-moz-appearance" : "none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",
2965+
"-ms-appearance" : "none | icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal",
2966+
"-webkit-appearance" : "none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | listbox | listitem | media-fullscreen-button | media-mute-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical",
2967+
"-o-appearance" : "none | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal",
2968+
29612969
"azimuth" : "<azimuth>",
29622970

29632971
//B
@@ -3328,7 +3336,10 @@ var Properties = module.exports = {
33283336
"text-align" : "left | right | center | justify | match-parent | start | end",
33293337
"text-align-last" : 1,
33303338
"text-anchor" : "start | middle | end",
3331-
"text-decoration" : "<text-decoration>",
3339+
"text-decoration" : "<text-decoration-line> || <text-decoration-style> || <text-decoration-color>",
3340+
"text-decoration-color" : "<text-decoration-color>",
3341+
"text-decoration-line" : "<text-decoration-line>",
3342+
"text-decoration-style" : "<text-decoration-style>",
33323343
"text-emphasis" : 1,
33333344
"text-height" : 1,
33343345
"text-indent" : "<length> | <percentage>",
@@ -4178,9 +4189,15 @@ copy(ValidationTypes, {
41784189
Matcher.many([true /* length is required */],
41794190
Matcher.cast("<length>").braces(2, 4), "inset", "<color>"),
41804191

4181-
"<text-decoration>":
4192+
"<text-decoration-color>":
4193+
"<color>",
4194+
4195+
"<text-decoration-line>":
41824196
"none | [ underline || overline || line-through || blink ]",
41834197

4198+
"<text-decoration-style>":
4199+
"solid | double | dotted | dashed | wavy",
4200+
41844201
"<will-change>":
41854202
"auto | <animateable-feature>#",
41864203

@@ -4879,7 +4896,7 @@ TokenStream.prototype = mix(new TokenStreamBase(), {
48794896

48804897
if (/^em$|^ex$|^px$|^gd$|^rem$|^vw$|^vh$|^vmax$|^vmin$|^ch$|^cm$|^mm$|^in$|^pt$|^pc$/i.test(ident)) {
48814898
tt = Tokens.LENGTH;
4882-
} else if (/^deg|^rad$|^grad$/i.test(ident)) {
4899+
} else if (/^deg|^rad$|^grad$|^turn$/i.test(ident)) {
48834900
tt = Tokens.ANGLE;
48844901
} else if (/^ms$|^s$/i.test(ident)) {
48854902
tt = Tokens.TIME;
@@ -5264,7 +5281,6 @@ TokenStream.prototype = mix(new TokenStreamBase(), {
52645281
}
52655282
});
52665283

5267-
52685284
},{"../util/TokenStreamBase":27,"./PropertyValuePart":11,"./Tokens":18}],15:[function(require,module,exports){
52695285
"use strict";
52705286

@@ -5626,6 +5642,7 @@ function PropertyValuePart(text, line, col, optionalHint) {
56265642
case "deg":
56275643
case "rad":
56285644
case "grad":
5645+
case "turn":
56295646
this.type = "angle";
56305647
break;
56315648

0 commit comments

Comments
 (0)