Last active
February 27, 2017 22:13
-
-
Save tonylampada/e708f5444596a389fa365dd6679b7fe1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//mock api | |
var api = { | |
list_cameras: _mockpromise(list_cameras), | |
//other methods… | |
}; | |
function list_cameras(filters){ | |
return [ | |
{name: ‘Camera do BBB’}, | |
{name: ‘Camera 17’} | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment