Skip to content
Myr

Changed: enable "jsonp callback" as a default

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent c28e6db · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • tests:+1 added−1 removed
  • other:+2 added−0 removed

2 files+3 added−1 removed

modified:lib/application.js+2 added
110 unmodified lines
111 // default locals112 this.locals.settings = this.settings;113114 // default configuration115 this.enable('jsonp callback');116117 this.configure('development', function(){118 this.set('json spaces', 2);119 });120
415 unmodified lines
modified:test/res.json.js+1 added-1 removed