Changes

Jump to: navigation, search

Learning Collaborative Development Lab Fall 2008 Results

534 bytes added, 21:01, 13 September 2008
no edit summary
<br />
---
====Start a new cl1p.net page====
by [http://johpan.thruhere.net/opensource/ Johann Manzano]:
 
function cl1pPage( name ) {
var url = "http://cl1p.net/" + name;
Utils.openUrlInBrowser(url);
}
 
CmdUtils.CreateCommand ({
name: "cl1p",
takes: {"page name": noun_arb_text},
 
preview: function(pBlock, directObj) {
if (directObj.text)
pBlock.innerHTML = "goto cl1p.net/" + directObj.text;
else
pBlock.innerHTML = "goto cl1p.net";
},
 
execute: function(directObj) {
var text = directObj.text
cl1pPage(text);
}
 
});
 
----
1
edit

Navigation menu