yosuke-furukawa/stubcell — pull request #28 by muddydixon (2014-07-23 12:44:40+00:00)
Title: Add cors option

Usually stubcell is requested by other port, so I added CORS option.

```
var stubcell = new StubCell();
stubcell.loadEntry(__dirname + "/cors.yaml", {basepath: "", debug: true, cors: true});

//or

stubcell.loadEntry(__dirname + "/cors.yaml", {basepath: "", debug: true, cors: {
"Access-Control-Allow-Origin": "example.com",
"Access-Control-Allow-Method": "GET",
"Access-Control-Allow-Headers": {"someField": true}
}});

```

Now set "false" by default, but I think it is better to set "true" by default.