Comparing version 0.0.2 to 0.0.3
@@ -13,3 +13,3 @@ 'use strict'; | ||
App = function (ghost) { | ||
this.app = ghost; | ||
this.ghost = ghost; | ||
@@ -76,3 +76,3 @@ this.initialize(); | ||
self.app.filters.register.apply(self.app.filters, parms); | ||
self.ghost.filters.register.apply(self.ghost.filters, parms); | ||
}); | ||
@@ -91,3 +91,3 @@ }; | ||
self.app.filters.deregister.apply(self.app.filters, parms); | ||
self.ghost.filters.deregister.apply(self.ghost.filters, parms); | ||
}); | ||
@@ -94,0 +94,0 @@ }; |
{ | ||
"name": "ghost-app", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Build your own app on top of Ghost", | ||
@@ -5,0 +5,0 @@ "author": "Ghost Foundation", |
@@ -42,2 +42,8 @@ /*global describe, beforeEach, afterEach, it*/ | ||
it('stores ghost api as this.ghost', function () { | ||
var app = new App(fakeGhost); | ||
app.ghost.should.equal(fakeGhost); | ||
}); | ||
it('registers filters on activate', function (done) { | ||
@@ -44,0 +50,0 @@ var FilterApp = App.extend({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15935
326