Convention for JavaScript Packages and Classes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
$=new Shahed(); | $=new Shahed(); | ||
$=$.define($,$static); | //$=$.define($,$static); | ||
win&&(win.Shahed=win.Shahed||$); | win&&(win.Shahed=win.Shahed||$); | ||
return $; | return $; | ||
Line 59: | Line 59: | ||
$=new Chorke(); | $=new Chorke(); | ||
$=$.define($,$static); | //$=$.define($,$static); | ||
win&&(win.Chorke=win.Chorke||$); | win&&(win.Chorke=win.Chorke||$); | ||
return $; | return $; | ||
Line 88: | Line 88: | ||
$=new Chorke(); | $=new Chorke(); | ||
$=$.define($,$static); | //$=$.define($,$static); | ||
win&&(win.Chorke=win.Chorke||$); | win&&(win.Chorke=win.Chorke||$); | ||
return $; | return $; |
Revision as of 11:34, 16 December 2017
Overview
Like any other Open Source Community Project, Chorke, Inc. is aware about the coding convention. We have to follow Best Practice and the Community Standard. Beside that we should respect Chorke, Inc.'s own standard. Which one never conflict with others rather it will express our integrity and the beauty of contribution. By which our contributor could share and understand their contribution with each others. It will help us to increase the transparency of our business. Chorke, Inc.' and it's affiliate maintains by following domain:
FQDN | Root | Short Form | Elaboration |
---|---|---|---|
shahed.biz | biz | SHa | Shahed, Biz. (biz) |
chorke.com | com | CKi | Chorke, Inc. (com) |
chorke.org | org | CKo | Chorke, Inc. (org) |
The shahed.biz is the parent concern of Chorke, Inc. Where chorke.com & chorke.org' are the sister. Main goal of chorke.org to focus on the community process.
Shahed, Inc (.biz)
/**
* @class Shahed
* @package Default
* @public
* @static
*/
var Shahed=Shahed||(function(win){
var $,
$self ={},
$static=$self;
Shahed=function(){};
$=new Shahed();
//$=$.define($,$static);
win&&(win.Shahed=win.Shahed||$);
return $;
}(window)),
SHa=SHa||(function(win, $){
win&&(win.SHa=win.SHa||$);
return $;
}(window, Shahed)),
SH=SH||(function(win, $){
win&&(win.SH=win.SH||$);
return $;
}(window, SHa));
Chorke, Inc(.com)
/**
* @class Chorke
* @package Default
* @public
* @static
*/
var Chorke=Chorke||(function(win){
var $,
$self ={},
$static=$self;
Chorke=function(){};
$=new Chorke();
//$=$.define($,$static);
win&&(win.Chorke=win.Chorke||$);
return $;
}(window)),
CKi=CKi||(function(win, $){
win&&(win.CKi=win.CKi||$);
return $;
}(window, Chorke)),
CK=CK||(function(win, $){
win&&(win.CK=win.CK||$);
return $;
}(window, CKi));
Chorke, Inc(.org)
/**
* @class Chorke
* @package Default
* @public
* @static
*/
var Chorke=Chorke||(function(win){
var $,
$self ={},
$static=$self;
Chorke=function(){};
$=new Chorke();
//$=$.define($,$static);
win&&(win.Chorke=win.Chorke||$);
return $;
}(window)),
CKo=CKo||(function(win, $){
win&&(win.CKo=win.CKo||$);
return $;
}(window, Chorke)),
CK=CK||(function(win, $){
win&&(win.CK=win.CK||$);
return $;
}(window, CKo));