Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Every time you visit for the FIRST TIME today... [Part 1]

Name: Anonymous 2013-10-20 22:56

Post a random function that you made. May be from any project you've done or make one impromptu.

Any QUALITY is allowed. No bullying!

Name: Anonymous 2013-12-27 19:43


Storage.prototype.connect = function(callback) {
var self = this,
dbFileName = this.baseDir + "/database.db";

this.sequelize = new Sequelize(null, null, null, {
dialect: "sqlite",
storage: dbFileName
});

this.sequelize.authenticate().complete(function(err) {
if (err) {
return callback(err);
}

self.defineModels();
self.sequelize.sync().complete(callback);
});
};

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List