﻿/*
Class: Mindscape.mindscapeelement
A class that provides a method to return a jQuery object using the hub.select() call.  Also provides chaining on that jQuery object.
*/

Mindscape.MindscapeElement = Mindscape.MindscapeElement || function (element, context) {

    this.domElement = element;

    if (context) {
        this.jQueryElement = $m.jQuery(element, context);
    } else {
        this.jQueryElement = $m.jQuery(element);
    }

    return this.jQueryElement;

};
