This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
this.itemList = { | |
options: { | |
spaceID: null, | |
spaceType: null, | |
displayCount: null, | |
totalItemsCount: null | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
special[ str_hashchange ] = $.extend( special[ str_hashchange ], { | |
// Called only when the first 'hashchange' event is bound to window. | |
setup: function() { | |
// If window.onhashchange is supported natively, there's nothing to do.. | |
if ( supports_onhashchange ) { return false; } | |
// Otherwise, we need to create our own. And we don't want to call this | |
// until the user binds to the event, just in case they never do, since it | |
// will create a polling loop and possibly even a hidden Iframe. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "dependencies" : { | |
"express" : "https://github.com/cayasso/express/tarball/master", | |
"express-resource" : "~0.2.3", | |
"jade" : ">= 0.0.1", | |
"mongoose" : "~2.4.1", | |
"passport" : "~0.1.3" | |
}, | |
"engines" : { "node" : ">=0.4.7 <0.7.0" }, | |
"name" : "ObituariosCR", | |
"version" : "0.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jbrumle-441b97:obituarioscr jebrumle$ git push heroku master | |
Counting objects: 646, done. | |
Delta compression using up to 8 threads. | |
Compressing objects: 100% (580/580), done. | |
Writing objects: 100% (646/646), 495.76 KiB, done. | |
Total 646 (delta 44), reused 0 (delta 0) | |
-----> Heroku receiving push | |
-----> Removing .DS_Store files | |
-----> Fetching custom build pack... done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>BFS</title> | |
</head> | |
<body> | |
<div> | |
<em> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>BFS</title> | |
</head> | |
<body> | |
<div> | |
<em> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// con solo prototype extend | |
var Persona = Class.extend('Persona', { | |
saludar: function () { | |
return 'my method'; | |
} | |
}) | |
var adulto = Persona(); | |
console.log(adulto.saludar()); // my method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> | |
// Assuming this is the namespace root for myatc | |
var myatc = {}; | |
// then somewhere global | |
myatc.saveCar = function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> | |
// Assuming this is the namespace root for myatc | |
var myatc = {}; | |
// then somewhere global | |
myatc.saveCar = function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express') | |
, http = require('http') | |
, connect = require('connect') | |
, io = require('socket.io'); | |
var app = express(); | |
/* NOTE: We'll need to refer to the sessionStore container later. To | |
* accomplish this, we'll create our own and pass it to Express | |
* rather than letting it create its own. */ | |
var sessionStore = new connect.session.MemoryStore(); |
OlderNewer