iwege/iFeed — Issue #2: Change the way to configure the parser src when user uses workerWrapper.js .
Author: iwege
Created: 2012-03-01 14:44:14+00:00
State: open

Don't let user to edit the lib javascript. they need to configure it with some function.
For example, they can use the `config` function to configure it :
~~~
// use object argument to configure `src` and `max`
iFeed.config({
src:'../src/ifeed.js'
, max:10
});

// or single `src` argument

iFeed.config('../src/ifeed.js');

~~~

Program can extend defaults config with user config.

And the program need to keep running good no matter which version user used.