From 0f44e6488517a3d1184043425502e370c59622af Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 5 Jul 2012 11:36:17 +0200 Subject: [PATCH] remove some comments --- source/Ox/js/Core.js | 72 -------------------------------------------- 1 file changed, 72 deletions(-) diff --git a/source/Ox/js/Core.js b/source/Ox/js/Core.js index 30332d9b..a97f2702 100644 --- a/source/Ox/js/Core.js +++ b/source/Ox/js/Core.js @@ -2,78 +2,6 @@ 'use strict'; -/* -Some conventions: - Functions - - only one var statement, in the first line of the function - - return only once, from the last line of the function - Variable names - arg argument - args arguments - array array - canFoo boolean - callback callback function - collection collection (array, string or object) - date date - iterator iterator function - hasFoo boolean - i index (integer key) - index index (integer key) - isFoo boolean - k key (of a key/value pair) - key key (of a key/value pair) - max maximum value - min minimum value - number number - object object - regexp regexp - ret return value - string string - test test function - v value (of a key/value pair) - value value (of a key/value pair) - Indentation - Variable definitions - var a = { - key: value, - key: value, - key: value - }, - b = {key: value}, - c = {key: value}; - Method chaining - Obj.fnA({ - key: value, - key: value, - key: value - }) - .fnB({key: val}) - .fnC({key: val}); - Simple conditionals - condition && expression; - Conditionals - if (condition) { - expression; - } - Conditionals with long conditions - if ( - condition - && condition - && condition - ) { - expression; - } - Ternary operator - condition ? expression : expression; - Ternary operator with long conditions or expressions - condition ? expression - : condition ? expression - : expression; -*/ - -// todo: check http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ -// also see https://github.com/tlrobinson/narwhal/blob/master/lib/util.js - /*@ Ox The `Ox` object See `Ox.wrap` for details.