File tree Expand file tree Collapse file tree 7 files changed +11
-2
lines changed Expand file tree Collapse file tree 7 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 5
5
"evil" : true ,
6
6
"loopfunc" : true ,
7
7
"undef" : true ,
8
- "rhino" : false
8
+ "rhino" : false ,
9
+ "proto" : true
9
10
}
Original file line number Diff line number Diff line change 120
120
<fileset dir =" ${ src.dir } /util" includes =" *.js" />
121
121
<footer trimleading =" yes" >
122
122
parserlib.util = {
123
+ __proto__ : null,
123
124
StringReader: StringReader,
124
125
SyntaxError : SyntaxError,
125
126
SyntaxUnit : SyntaxUnit,
150
151
<fileset dir =" ${ src.dir } /css" includes =" *.js" />
151
152
<footer trimleading =" yes" >
152
153
parserlib.css = {
154
+ __proto__ :null,
153
155
Colors :Colors,
154
156
Combinator :Combinator,
155
157
Parser :Parser,
Original file line number Diff line number Diff line change 1
1
2
2
var Colors = {
3
+ __proto__ :null ,
3
4
aliceblue :"#f0f8ff" ,
4
5
antiquewhite :"#faebd7" ,
5
6
aqua :"#00ffff" ,
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ Parser.prototype = function(){
43
43
var proto = new EventTarget ( ) , //new prototype
44
44
prop ,
45
45
additions = {
46
+ __proto__ : null ,
46
47
47
48
//restore constructor
48
49
constructor : Parser ,
@@ -2363,7 +2364,7 @@ Parser.prototype = function(){
2363
2364
2364
2365
//copy over onto prototype
2365
2366
for ( prop in additions ) {
2366
- if ( additions . hasOwnProperty ( prop ) ) {
2367
+ if ( Object . prototype . hasOwnProperty . call ( additions , prop ) ) {
2367
2368
proto [ prop ] = additions [ prop ] ;
2368
2369
}
2369
2370
}
Original file line number Diff line number Diff line change 1
1
/*global Validation, ValidationTypes, ValidationError*/
2
2
var Properties = {
3
+ __proto__ : null ,
3
4
4
5
//A
5
6
"align-items" : "flex-start | flex-end | center | baseline | stretch" ,
Original file line number Diff line number Diff line change 1
1
var Pseudos = {
2
+ __proto__ : null ,
2
3
":first-letter" : 1 ,
3
4
":first-line" : 1 ,
4
5
":before" : 1 ,
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ var ValidationTypes = {
82
82
83
83
84
84
simple : {
85
+ __proto__ : null ,
85
86
86
87
"<absolute-size>" : function ( part ) {
87
88
return ValidationTypes . isLiteral ( part , "xx-small | x-small | small | medium | large | x-large | xx-large" ) ;
@@ -256,6 +257,7 @@ var ValidationTypes = {
256
257
} ,
257
258
258
259
complex : {
260
+ __proto__ : null ,
259
261
260
262
"<bg-position>" : function ( expression ) {
261
263
var result = false ,
You can’t perform that action at this time.
0 commit comments