Skip to content

Instantly share code, notes, and snippets.

@ellemenno
Last active February 18, 2017 20:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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