View IntendedDirectoryStructure
Repo-Name
|-- master
|-- gh-pages
View mobileNav.js
/*
mobileNav.js by Matt Jordan.
*/
(function ($) {
$.fn.mobileNav = function (mobileWidth) {
// Create the <select> element
var selectHTML = '<select name="mobileNav" id="mobileNav" style="display:none">',
currentHref = window.location.href,
checkSize = function () {
View sticky-on-scroll.css
#wrapper { position: relative; }
/* Aside in non-scroll mode */
aside {
float: left; /* Keeps the aside to the left and on top */
margin-top: 5px;
padding: 15px 0 15px 8px;
width: 267px;
}
View User.js
/**
* api/models/User.js
*
* The user model contains the instance method for validating the password.
*/
var bcrypt = require('bcrypt');
function hashPassword(values, next) {
bcrypt.hash(values.password, 10, function(err, hash) {
View StorageAPI.md

The Storage API is currently in active development. This guide is a draft for a future version.

Methods:

/storage/push/{keyName}

Method: GET, POST

Creates new stores & pushes new data to existing stores. Each store's value in the database is an Array of versions. When push is creating a new store, the data is available at index 0. Each additional push will add the new version at index 0.

View license.txt
The MIT License (MIT)
Copyright (c) 2014 Matthew B. Jordan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
View ful-of.js
$("body").append("\uD83D\uDCA9");
View slugify.js
var Return;
function slugify(){
var O = Array.prototype.slice.call(arguments),
t = [],
x = 0,
i;
for (i in O){
if (O.hasOwnProperty(i) && typeof O[i] === "string"){
View listOrArray.js
function listOrArray(Arr) {
var List = Array.prototype.slice.call(arguments, 1),
i;
// If `List` is not empty, assume there are more module objects sent as List Arguments
if (List.length > 0) {
List.unshift(Arr);
Arr = List;
} else {
// No List args in sight, treat the first arg `Arr` as an array and loop through it.
View read-hash.js
window.onhashchange = doChange;
window.onload = doChange;
function doChange() {
var _hash = window.location.hash.replace("#!", "");
console.log(_hash);
}