
Untitled
By: a guest on
Jun 14th, 2012 | syntax:
JavaScript | size: 0.99 KB | hits: 18 | expires: Never
function Apple (type) {}
//////////////////////////////////////////////////////////////////////
var apple = {
type: "macintosh",
color: "red",
getInfo: function () {
return this.color + ' ' + this.type + ' apple';
}
}
//////////////////////////////////////////////////////////////////////
GLGE.MD2=function(uid){}
//////////////////////////////////////////////////////////////////////
(function(GLGE){})(GLGE);
//////////////////////////////////////////////////////////////////////
window.Namespace = {};
Namespace.Apple = function(type){}
//////////////////////////////////////////////////////////////////////
myClass.prototype = {
myProperty:”this is a string”,
myMethod:function(parms){
//method logic here
}
}
//////////////////////////////////////////////////////////////////////
function MyClass()
{
}
MyClass.prototype.doSomething = function()
{
};
//////////////////////////////////////////////////////////////////////