Skip to content

Commit 0d50021

Browse files
committed
Fix extra comma for IE7, add json2.js for debugging exceptions
1 parent 2a00df8 commit 0d50021

File tree

3 files changed

+483
-2
lines changed

3 files changed

+483
-2
lines changed

ico.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ var Ico = {
268268
t.components[layer].push( t[k] = new (v[0])( t, o ) )
269269
} catch( e ) {
270270
t.error = e;
271-
de&&ug( "process_options(), exception: " + e );
271+
de&&ug( "process_options(), exception: " + JSON.stringify( e ) );
272272
}
273273
}
274274
};
@@ -581,7 +581,7 @@ var Ico = {
581581
// Other options
582582
value_labels: {}, // allow values, labels, false => disable
583583
focus_hint: true,
584-
axis: true,
584+
axis: true
585585
} );
586586
},
587587

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
<!-- The Prototype Library is not required for most features, except mouse_pointer-->
9595
<script type="text/javascript" src="prototype.js"></script>
9696

97+
<script type="text/javascript" src="json2.js"></script>
9798
<script type="text/javascript" src="es5.js"></script>
9899
<script src="raphael-2.1.0-min.js" type="text/javascript" charset="utf-8"></script>
99100
<script src="ico.js" type="text/javascript" charset="utf-8"></script>

0 commit comments

Comments
 (0)