diff --git a/oboe/oboe-tests.ts b/oboe/oboe-tests.ts index f98def75e..48939d418 100644 --- a/oboe/oboe-tests.ts +++ b/oboe/oboe-tests.ts @@ -32,3 +32,18 @@ oboe('/content') console.error('no such content'); } }); + +oboe('friends.json') + .node('friend', function (parsedJson) { + console.log('friend parsed', parsedJson); + }); + +oboe('friends.json') + .node({ + 'friend': function (parsedJson) { + console.log('friend parsed', parsedJson); + }, + '!': function (parsedJson) { + console.log('root parsed', parsedJson); + } + }); diff --git a/oboe/oboe.d.ts b/oboe/oboe.d.ts index b3bbb8d0c..754467de1 100644 --- a/oboe/oboe.d.ts +++ b/oboe/oboe.d.ts @@ -65,6 +65,5 @@ declare module oboe { declare var oboe: oboe.OboeFunction; declare module "oboe" { - var oboe: oboe.OboeFunction; export = oboe; }