MCPcopy
hub / github.com/gnab/remark / createController

Function createController

test/remark/controllers/defaultController_test.js:179–185  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

177 ;
178
179 function createController(options) {
180 options = options || { embedded: false };
181
182 controller = new Controller(events, dom, {
183 isEmbedded: function () { return options.embedded; }
184 });
185 }
186
187 beforeEach(function () {
188 events = new EventEmitter();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected