Skip to content

Instantly share code, notes, and snippets.

@mrios
Created November 13, 2014 13:00
Show Gist options
  • Save mrios/411096ccf3827dec93b0 to your computer and use it in GitHub Desktop.
Save mrios/411096ccf3827dec93b0 to your computer and use it in GitHub Desktop.
var solicitud_medicamentos = solicitud_medicamentos || (function () {
var self
, _tpl
= $("#saludoTpl").html()
return {
init: function () {
self = this
//self.renderTest()
$("body").bind(
'click'
, self.renderTest
)
}
, renderTest: function() {
openDinamicDialog(
Mustache
.to_html(
$("#saludoTpl").html()//tpl
, {
username:"Adrian"
}
)
, 'titulo'
, {
"cerrar": function(){ $(this).dialog("close")}
}
, 500
, 1000
)
}
}
}());
solicitud_medicamentos.init();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment