Browse files

Also start when no map is defined

  • Loading branch information...
1 parent e851325 commit d5d8e1c7fdb82f64c70206cfdbe88319004f6718 @rikkertkoppes committed Aug 17, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 index.js
View
2 index.js
@@ -42,6 +42,8 @@ omx.start = function(fn) {
}
if (map) {
map(fn,cb);
+ } else {
+ cb(fn);
}
function cb(fn) {

0 comments on commit d5d8e1c

Please sign in to comment.