Comparing version 1.7.3 to 1.7.4
@@ -42,3 +42,3 @@ var fs = require('fs'); | ||
hapi: { | ||
"hapi": "2.x.x", | ||
"hapi": "6.x.x", | ||
"moonboots_hapi": "2.x.x" | ||
@@ -45,0 +45,0 @@ } |
{ | ||
"name": "ampersand", | ||
"description": "CLI tool for generating single page apps a. la. http://humanjavascript.com", | ||
"version": "1.7.3", | ||
"version": "1.7.4", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -6,0 +6,0 @@ "bin": { |
@@ -12,3 +12,3 @@ /*global console*/ | ||
// a little helper for fixing paths for various enviroments | ||
// a little helper for fixing paths for various environments | ||
var fixPath = function (pathString) { | ||
@@ -15,0 +15,0 @@ return path.resolve(path.normalize(pathString)); |
@@ -10,3 +10,5 @@ var Hapi = require('hapi'); | ||
internals.configStateConfig = { | ||
encoding: 'none' | ||
encoding: 'none', | ||
ttl: 1000 * 60 * 15, | ||
isSecure: config.isSecure | ||
}; | ||
@@ -27,3 +29,3 @@ server.state('config', internals.configStateConfig); | ||
// require moonboots_hapi plugin | ||
server.pack.require({'moonboots_hapi': moonbootsConfig}, function (err) { | ||
server.pack.register({plugin: require('moonboots_hapi'), options: moonbootsConfig}, function (err) { | ||
if (err) throw err; | ||
@@ -30,0 +32,0 @@ server.pack.register(fakeApi, function (err) { |
/*global app, me, $*/ | ||
// This app view is responsible for rendering all content that goes into | ||
// <html>. It's initted right away and renders iteslf on DOM ready. | ||
// <html>. It's initted right away and renders itself on DOM ready. | ||
@@ -45,3 +45,3 @@ // This view also handles all the 'document' level events such as keyboard shortcuts. | ||
// setting a favicon for fun (note, it's dyanamic) | ||
// setting a favicon for fun (note, it's dynamic) | ||
setFavicon('/images/ampersand.png'); | ||
@@ -48,0 +48,0 @@ return this; |
{ | ||
"isDev": true, | ||
"isSecure": false, | ||
"session": { | ||
@@ -4,0 +5,0 @@ "host": "localhost", |
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
486530
19
86
12604