1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-13 03:02:49 +00:00

updated bunch of file paths and changed the way posts are loaded

This commit is contained in:
2016-01-05 12:28:04 -06:00
parent 4bb8cae81e
commit 6ab45fe935
13249 changed files with 317868 additions and 2101398 deletions

View File

@@ -1,6 +1,6 @@
// modules
var mongoose = require('../../../lib')
var mongoose = require('../../../lib');
var Schema = mongoose.Schema;
// parse json
@@ -14,14 +14,14 @@ var TimeSignature = mongoose.model('TimeSignatures', timeSignatureSchema);
// create a TimeSignature document
var threeFour = new TimeSignature({
count: 3
, unit: 4
, description: "3/4"
, additive: false
, created: new Date
, links: ["http://en.wikipedia.org/wiki/Time_signature"]
, user_id: "518d31a0ef32bbfa853a9814"
count: 3,
unit: 4,
description: "3/4",
additive: false,
created: new Date,
links: ["http://en.wikipedia.org/wiki/Time_signature"],
user_id: "518d31a0ef32bbfa853a9814"
});
// print its description
console.log(threeFour)
console.log(threeFour);