File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33093309 }
33103310
33113311 Properties . prototype . dump = function ( abs ) {
3312- var debugVersion = this . valDumper . getRequestInfo ( ) . $container . data ( 'meta' ) . debugVersion ;
33133312 var cfg = {
33143313 attributeOutput : abs . cfgFlags & this . valDumper . objectDumper . PROP_ATTRIBUTE_OUTPUT ,
3315- isDynamicSupport : versionCompare ( debugVersion , '3.1' ) >= 0
3314+ isDynamicSupport : versionCompare ( abs . debugVersion , '3.1' ) >= 0
33163315 } ;
33173316 var label = Object . keys ( abs . properties ) . length
33183317 ? 'properties'
35043503 var html = '' ;
35053504 var strClassname = '' ;
35063505 var dumpOpts = this . dumper . getDumpOpts ( ) ;
3507- var debugVersion ;
35083506 try {
3507+ abs . debugVersion = this . dumper . getRequestInfo ( ) . $container . data ( 'meta' ) . debugVersion ;
35093508 if ( typeof abs . sort === 'undefined' ) {
35103509 abs . sort = 'vis name' ;
35113510 } else if ( abs . sort === 'visibility' ) {
3512- debugVersion = this . dumper . getRequestInfo ( ) . $container . data ( 'meta' ) . debugVersion ;
3513- if ( versionCompare ( debugVersion , '3.2' ) === - 1 ) {
3511+ if ( versionCompare ( abs . debugVersion , '3.2' ) === - 1 ) {
35143512 abs . sort = 'vis name' ;
35153513 }
35163514 }
Original file line number Diff line number Diff line change @@ -120,13 +120,12 @@ DumpObject.prototype.dump = function (abs) {
120120 var self = this
121121 var strClassname = ''
122122 var dumpOpts = this . dumper . getDumpOpts ( )
123- var debugVersion
124123 try {
124+ abs . debugVersion = this . dumper . getRequestInfo ( ) . $container . data ( 'meta' ) . debugVersion
125125 if ( typeof abs . sort === 'undefined' ) {
126126 abs . sort = 'vis name'
127127 } else if ( abs . sort === 'visibility' ) {
128- debugVersion = this . dumper . getRequestInfo ( ) . $container . data ( 'meta' ) . debugVersion
129- if ( versionCompare ( debugVersion , '3.2' ) === - 1 ) {
128+ if ( versionCompare ( abs . debugVersion , '3.2' ) === - 1 ) {
130129 abs . sort = 'vis name'
131130 }
132131 }
Original file line number Diff line number Diff line change @@ -11,10 +11,9 @@ for (name in sectionPrototype) {
1111}
1212
1313Properties . prototype . dump = function ( abs ) {
14- var debugVersion = this . valDumper . getRequestInfo ( ) . $container . data ( 'meta' ) . debugVersion
1514 var cfg = {
1615 attributeOutput : abs . cfgFlags & this . valDumper . objectDumper . PROP_ATTRIBUTE_OUTPUT ,
17- isDynamicSupport : versionCompare ( debugVersion , '3.1' ) >= 0
16+ isDynamicSupport : versionCompare ( abs . debugVersion , '3.1' ) >= 0
1817 }
1918 var label = Object . keys ( abs . properties ) . length
2019 ? 'properties'
You can’t perform that action at this time.
0 commit comments