How to use od - 2 common examples

To help you get started, we’ve selected a few od examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github decipherinc / angular-history / test / test-history.js View on Github external
Q.deepEqual(data['d.name'].values, [
        {
          "newValue": "foo",
          "oldValue": "marvin"
        }
      ], '"d.name" values are as expected');
      Q.deepEqual(data['d.name'].descriptions, [
        "name in data changed"
      ], '"d.name" descriptions are as expected');
      Q.deepEqual(data['od.name'].values, [
        {
          "newValue": "foo",
          "oldValue": "pookie"
        }
      ], '"od.name" values are as expected');
      Q.deepEqual(data['od.name'].descriptions, [
        "name in otherdata changed"
      ], '"od.name" descriptions are as expected');

    });
    scope.$apply(function () {
github decipherinc / angular-history / test / test-history.js View on Github external
], '"foo" array values are as expected');
      Q.deepEqual(data.foo.descriptions, [
        "foo array changed",
        "foo array changed",
        "foo array changed"
      ], '"foo" descriptions are as expected');
      Q.deepEqual(data['d.name'].values, [
        {
          "newValue": "foo",
          "oldValue": "marvin"
        }
      ], '"d.name" values are as expected');
      Q.deepEqual(data['d.name'].descriptions, [
        "name in data changed"
      ], '"d.name" descriptions are as expected');
      Q.deepEqual(data['od.name'].values, [
        {
          "newValue": "foo",
          "oldValue": "pookie"
        }
      ], '"od.name" values are as expected');
      Q.deepEqual(data['od.name'].descriptions, [
        "name in otherdata changed"
      ], '"od.name" descriptions are as expected');

    });
    scope.$apply(function () {

od

Oh dear, another date library

ISC
Latest version published 10 months ago

Package Health Score

60 / 100
Full package analysis

Popular od functions