forked from 0x2620/oxjs
add documentation stubs
This commit is contained in:
parent
b3fce3a28a
commit
509745407b
102 changed files with 613 additions and 163 deletions
|
|
@ -1,5 +1,3 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
|
||||
'use strict';
|
||||
|
||||
/*@
|
||||
|
|
@ -123,12 +121,18 @@ Ox.Theme = (function() {
|
|||
return that;
|
||||
}
|
||||
|
||||
/*@
|
||||
formatColor <f> formatColor
|
||||
@*/
|
||||
that.formatColor = function(val, type) {
|
||||
return renderElement(val, type)
|
||||
.css({textAlign: 'center'})
|
||||
.html(Ox.formatNumber(val, 3));
|
||||
};
|
||||
|
||||
/*@
|
||||
formatColorLevel <f> formatColorLevel
|
||||
@*/
|
||||
that.formatColorLevel = function(index, values, hueRange) {
|
||||
hueRange = hueRange || (Ox.isBoolean(index) ? [0, 120] : [120, 0]);
|
||||
var step = (hueRange[1] - hueRange[0]) / (values.length - 1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue