This file contains hidden or 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
// /etc/pacman.conf | |
[gnome-devel] | |
#SigLevel = Optional TrustAll | |
Server = http://softwareperonista.com.ar/repo/archlinux/gnome-devel/x86_64 |
This file contains hidden or 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
funtion loadJsFile(filename){ | |
var externalJsFilf=document.createElement('script'); | |
externalJsFilf.setAttribute("type","text/javascript"); | |
externalJsFilf.setAttribute("src", filename); | |
} | |
loadJsFile(PathToFile); |
This file contains hidden or 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
rawHTML = HTML.Raw("<h1> hello </h1>"); // your HTML String from twitter | |
div = document.getElementsByClassName("page-footer")[0] // somehow select a DOM element | |
tmpl = new Blaze.Template("Template.hello2", // create a template | |
function(){ | |
view = this; | |
return rawHTML | |
} | |
); | |
var renderedTmpl = Blaze.render(tmpl, div); // and render it ! |
This file contains hidden or 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
//HTMLJS | |
HTML.Raw("<div> <p> ich bin ein paragraph </p> </div>"); | |
HTML.DIV(HTML.P("ich bin ein paragraph")); | |
HTML.DIV({'class': 'someDiv'}, HTML.P("ich bin ein paragraph")); | |
HTML.IMG({'class': 'someImg', "src": "http://i.imgur.com/UuGT4co.png"}); | |
HTML.toHTML(HTML.DIV({'class': 'someDiv'}, HTML.P("ich bin ein paragraph"))); | |
//Tracker | |
FancyReactivnes = function (value) { // much goodnes. much pretty. WoW | |
this.curValue = value; |