Skip to content

Instantly share code, notes, and snippets.

@dbispo
Created June 10, 2009 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbispo/127358 to your computer and use it in GitHub Desktop.
Save dbispo/127358 to your computer and use it in GitHub Desktop.
CmdUtils.CreateCommand({
name: "cardapio-ceset",
author: { name: "Diogo Moreira Bispo", email: "diogobispo@gmail.com"},
preview: function( pblock ) {
pblock.innerHTML = "Ver o cardápio do bandejão";
jQuery.get("http://www.pfl.unicamp.br/cardapio.php",
function(comida1){
comida1 = comida1.replace("<%@LANGUAGE=\"VBSCRIPT\" CODEPAGE=\"1252\"%>", "");
pblock.innerHTML = comida1
}
);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment