@@ -31,7 +31,7 @@ TerminusRule.prototype.type = function(...list){
3131}
3232
3333/**
34- * Specifies the scope of a rule - row / cell / object / property / * .. what part of the result does the rule apply to
34+ * Specifies the scope of a rule - row / cell / object / property / * .. what part of the result does the rule apply to
3535 */
3636TerminusRule . prototype . scope = function ( scope ) {
3737 if ( typeof scope == "undefined" ) {
@@ -49,7 +49,6 @@ TerminusRule.prototype.value = function(...val){
4949 return this . pattern . value ;
5050 }
5151 this . pattern . value = val ;
52- console . log ( this . pattern . value ) ;
5352 return this ;
5453}
5554
@@ -72,7 +71,7 @@ TerminusRule.prototype.json = function(mjson){
7271
7372/**
7473 * Contained Pattern Object to encapsulate pattern matching
75- * @param {Object } pattern
74+ * @param {Object } pattern
7675 */
7776function TerminusPattern ( pattern ) { } ;
7877
@@ -99,7 +98,7 @@ TerminusPattern.prototype.testBasics = function(scope, value){
9998 if ( this . scope && scope && this . scope != scope ) return false ;
10099 if ( this . type ) {
101100 var dt = value [ "@type" ] ;
102- if ( ! dt || ! this . testValue ( dt , this . type ) ) return false ;
101+ if ( ! dt || ! this . testValue ( dt , this . type ) ) return false ;
103102 }
104103 if ( typeof this . literal != "undefined" ) {
105104 if ( ! ( this . literal == ! ( typeof value [ "@type" ] == "undefined" ) ) ) return false ;
@@ -141,7 +140,7 @@ TerminusPattern.prototype.unpack = function(arr, nonstring){
141140 str += arr [ i ] ;
142141 }
143142 if ( i < ( arr . length - 1 ) ) str += ", " ;
144- }
143+ }
145144 }
146145 else {
147146 str = '"' + arr . join ( '","' ) + '"' ;
@@ -192,4 +191,4 @@ TerminusPattern.prototype.stringMatch = function (vala, valb) {
192191} ;
193192
194193
195- module . exports = { TerminusRule, TerminusPattern} ;
194+ module . exports = { TerminusRule, TerminusPattern} ;
0 commit comments