Skip to content

Commit

Permalink
Merge pull request #11 from larkjs/viringbells
Browse files Browse the repository at this point in the history
Viringbells
  • Loading branch information
viRingbells committed Aug 11, 2015
2 parents 6f89bb1 + 1975432 commit d7c5bac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ var larkMVC = function(options, lark){
}

function createModel (layerproxy, _pathsplit, type, options) {
options = options || {};
var type = type || _pathsplit.shift();
var ignore = options.ignore || '';
if ('string' === typeof ignore) {
ignore = [ignore];
}
if (options && options.ignore && _pathsplit.indexOf(options.ignore) >=0) {
return;
}
Expand Down

0 comments on commit d7c5bac

Please sign in to comment.