DIR : /home/kozerus/public_html/pn/uize/site-source/js/Uize/Matcher.todo
/home/kozerus/public_html/pn/uize/site-source/js/Uize
This is a proposal document for a =Uize.Matcher= module.
How is this proposed module related to the proposed =Uize.Is= module?
................................................................................
Uize.Matcher.inRange = Uize.Data.makeValueTransformerGenerator (
function (_value,_minValue,_maxValue) {return _value >= _minValue && _value <= _maxValue}
);
Uize.Matcher.inRange (1,100); // creates a matcher
Uize.Matcher.inRange.exec (5,1,100); // executes a matcher immediately against a subject
Uize.Matcher.inRange (1,100) (5); // creates a matcher, uses it immediately, and throws it away
................................................................................
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer