I hereby claim:
- I am PastorBones on github.
- I am pastorbones (https://keybase.io/pastorbones) on keybase.
- I have a public key whose fingerprint is 071D 43C2 6980 2CAF FB9D 70F8 33E0 3385 F9D4 0E46
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| $(function(){ | |
| var filename = 'myfile.txt'; | |
| now.ready(function(){ | |
| now.readFile(filename); | |
| }) | |
| }) | |
| var Page = function(opt){ | |
| var self = this | |
| self.global = { | |
| styles: [] | |
| , scripts: [] | |
| , keywords: [] | |
| } | |
| var express = require('express') | |
| , app = express.createServer() | |
| // Function to push formatted style | |
| // paths onto our stylesheet variable | |
| var addStyles = function(res, styles) { | |
| styles.forEach(function(style){ | |
| res.app.settings['view options'].styles.push('/stylesheets/' + style + '.css') | |
| }) | |
| return true |