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
Hhhhhhhh |
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
estilo{ | |
color:red; | |
} | |
otro{ | |
} | |
Jjjj |
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
(def variable 10) | |
(defn mi_funcion [] | |
"ejemplo de mi funcion" | |
(println "mi linea")) |
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 fs = require('fs'); | |
exports.load_js_client=function(context, path_lib, method_names, subcontext){ | |
(function(){ | |
if(typeof subcontext !== "undefined"){ | |
for(var v in subcontext){ | |
this[v]=subcontext[v]; | |
console.log(v+"="+this[v]); | |
} | |
} | |
eval(fs.readFileSync(path_lib,'utf8')); |
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
/* functions printers outside for better reuse*/ | |
var date_printer={ | |
//US = United States, UK = United Kingdom, AU = Australia | |
US: function(){return "US: "+this.date.format("mm/dd/yy");}, | |
UK: function(){return "UK: "+this.date.format("dd/mm/yy");}, | |
AU: function(){return "AU: "+this.date.format("dd/mm/yy");} | |
}; |
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 init=function (o, spec){ | |
for(value in spec){ | |
if(o[value]==undefined) | |
o[value]=spec[value]; | |
} | |
}; | |
var getters=function(f, props){ | |
for(var i=0; i<props.length; i++){ | |
var mi_get=function(x){ |
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
// this file use ./core.js and ./i18n.js | |
var data_person_example={ | |
id: 1, | |
fname: "Juan Antonio", | |
lname: "Ruz", | |
DOB: "1976-06-13", | |
wage: 100, | |
}; | |
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
(ns fourclojure.stack | |
(require [clojure.core.async :as async :refer :all])) | |
(defn update-sidebar! [new-data] | |
(println "you have updated the sidebar with this data:" new-data)) | |
(defn async-handler [the-channel data-recieved] | |
(put! the-channel data-recieved) | |
) |
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
(ns heroku.index | |
(:require-macros [cljs.core.async.macros :refer [go]]) | |
(:require | |
[heroku.util :as util] | |
[ajax.core :refer [GET POST]] | |
[om.core :as om :include-macros true] | |
[om.dom :as dom :include-macros true] | |
[clojure.browser.repl] | |
[cljs.core.async :refer [put! chan <!]]) | |
) |
OlderNewer