Created
November 13, 2014 13:00
-
-
Save mrios/411096ccf3827dec93b0 to your computer and use it in GitHub Desktop.
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 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