commands
var rotatingBannerController = (function() { "use strict"; var imageList = (function() { var buffer = new CBuffer(); return { rotate: function() { buffer.rotateLeft(); } } })(); var privateInit = function() { // Do init stuff like load list and config. }; var commands = (function() { return { rotate: function() { imageList.rotate(); }, init: privateInit } })(); return { config: config, commands: { init: commands.init } } })();
Object
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)