ombu

1.0.1 • Public • Published

Ombu

Latest version

JavaScript micro library to help modelling really simple page objects.

Examples

var page = Ombu.create({
  visit: '/path',
 
  foo: {
    scope: '.a-foo',
 
    bar: '.a-bar'
  }
});
 
console.log(page); // "/path"
console.log(page.foo); // ".a-foo"
console.log(page.foo.bar); // ".a-foo .a-bar"

Usage

Ombu depends on Ceibo library. You need to load this library before Ombu.

<html>
  <head>
    ...
    <script src="/path_to_ceibo/index.js"></script> 
    <script src="/path_to_ombu/index.js"></script> 
  </head>
  ...
</html>

Project's health

Build Status

License

Ombu is licensed under the MIT license.

See LICENSE for the full license text.

Package Sidebar

Install

npm i ombu

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • san650