Skip to content

Instantly share code, notes, and snippets.

@jkriddle
Last active August 29, 2015 14:02

Revisions

  1. jkriddle revised this gist Jun 10, 2014. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions test.js
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    itemEditor.on("save", function () {
    // show item value
    var xml = itemEditor.getValue();
    alert(xml);
    var manifest = itemEditor.getManifest();
    alert(manifest);
    var translation = itemEditor.getTranslation();
    alert(translation);
    });
  2. jkriddle created this gist Jun 10, 2014.
    5 changes: 5 additions & 0 deletions test.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    itemEditor.on("save", function () {
    // show item value
    var xml = itemEditor.getValue();
    alert(xml);
    });