'use strict'; var Marionette = require('marionette-client'); /** * mQuery allows you to query and modify the DOM through Marionette, * in a style resembling jQuery. While jQuery is often heckled for * being poor for designing large-scale apps, its quick DOM traversal * and manipulation is hard to beat. For integration tests, which tend * to require convenient, clear, mostly-read-only access to the DOM * with fewer architectural concerns, a jQuery-like API fits well. * * Typical use is something like this: * * var $ = require('mquery'); * * $.client = marionette.client(); * * console.log($('.my-element').text()); * console.log($('#textbox').val()); * * You can also set values in input fields like so: * * $('#textbox').val('foo'); * * This also works with system