Skip to content

safjanowski/box-octo-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Box Octo Model Build Status

Box octo model – add, remove, update state of elements inside box.

Examples

var bulp = {
	id: 'bulp_1',
	state: 'off'
};

var box = new Box();

box.addElement(bulp);
box.setState(bulp_1, 'on');

assert.equal(box.getElementById(bulp.id).state, 'on');

Instalation

  • npm install – in application root folder.

Tests

  • make test – executes Mocha.
  • make continous – executes Mocha with flag -w for watching for changes.

About

Box octo model – add, remove, update products inside cart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published