Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add more tests of static methods.

  • Loading branch information...
commit 372fa585c263eb221d932e5940dc10a30ef438b4 1 parent 79ae0ef
@vbortone vbortone authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 jsoneditoronline/jsoneditoronline-tests.ts
View
5 jsoneditoronline/jsoneditoronline-tests.ts
@@ -17,11 +17,12 @@ var json = {
};
editor.set(json);
editor.expandAll();
+console.log(JSONEditor.getInternetExplorerVersion());
var jsonResult:any = editor.get();
var options2: JSONFormatterOptions = {
- "indentation": 2
+ indentation: 2
};
var formatter: JSONFormatter = new JSONFormatter(container, options);
var json2 = {
@@ -34,4 +35,4 @@ var json2 = {
};
formatter.set(json2);
-var jsonResult2:any = formatter.get(json2);
+var jsonResult2:any = formatter.get();
Please sign in to comment.
Something went wrong with that request. Please try again.