Skip to content

Instantly share code, notes, and snippets.

@ellemenno
Last active February 18, 2017 20:08
Show Gist options
  • Save ellemenno/39ec91dcc618adc85284490caea894a6 to your computer and use it in GitHub Desktop.
Save ellemenno/39ec91dcc618adc85284490caea894a6 to your computer and use it in GitHub Desktop.
testing rouge support for ls
// ls - loomscript syntax highlighting
package {
        public class Fail {}
}
/* ls - loomscript syntax highlighting */
package {
        public class Pass {}
}
/* ls - loomscript syntax highlighting */
package org.as3lib.mvc
{
        /**
         * Provides basic services for the "controller" of
         * a Model/View/Controller triad.
         *
         * Based on original AS2 code by Colin Moock
         */
        public class AbstractController implements IController
        {
                /**
                 * Constructor
                 *
                 * @param   model   The model this controller's view is observing.
                 */
                public function AbstractController( model : * )
                {
                        this.model = model;
                }

                public function get model():* { return _model; }
                public function set model(model:*):void { _model = model; }
                protected var _model:*;


                public function get view():IView { return _view; }
                public function set view(view:IView):void { _view = view; }
                protected var _view:IView;
        }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment