mmikowski/urianchor

syntax error in sample code

ruafozy opened this issue · 1 comments

There is a syntax error in the following code from
README.md, in the line beginning "online":

$uriAnchor.configModule({
  schema_map : {
    page    : { profile : true, pdf : true },
    _page   : {
      uname   : true,
      online  : { 'today','yesterday','earlier' }
    },
    slider  : { confirm : 'deny' },
    _slider : { text : 'goodbye' },
    color   : { red : true, green : true, blue : true }
  }
});

Thanks for the report. I have confirmed this is fixed in 1.2.2 as received via npm. Please reopen if I've missed something.