just run this command on your mac:
brew install https://gist.github.com/raw/1007028/66c1911132a2970b9df9723bd8063ac13e926993/nginx.rb
| javascript:(function(doc, docElem){ function s(url, css, sc){ sc = doc.createElement( css ? "link" : "script");if(css){sc.rel = "stylesheet";} sc[css?"href":"src"] = url; docElem.insertBefore(sc,docElem.firstChild); return sc; } s("http://jquerymobile.com/test/themes/default/jquery.mobile.core.css", true ); s("http://jquerymobile.com/test/themes/default/jquery.mobile.transitions.css", true ); var jq =s("http://code.jquery.com/jquery-latest.min.js"); jq.onload = function(){ s( "http://code.jquery.com/mobile/latest/jquery.mobile.min.js"); }; })(document, document.documentElement ); |
just run this command on your mac:
brew install https://gist.github.com/raw/1007028/66c1911132a2970b9df9723bd8063ac13e926993/nginx.rb
| require( ['jquery'], function( $ ) { | |
| $( document ).one( "mobileinit", function() { | |
| // Set up your jQM options here | |
| }); | |
| require( ['jquery.mobile'] ); | |
| } |
| # The files to include when compiling the CSS files | |
| CSSFILES = css/structure/jquery.mobile.core.css \ | |
| css/structure/jquery.mobile.transitions.css \ | |
| css/structure/jquery.mobile.grids.css \ | |
| css/structure/jquery.mobile.fixedToolbar.css \ | |
| css/structure/jquery.mobile.navbar.css \ | |
| css/structure/jquery.mobile.button.css \ | |
| css/structure/jquery.mobile.collapsible.css \ | |
| css/structure/jquery.mobile.controlgroup.css \ | |
| css/structure/jquery.mobile.dialog.css \ |
| $(function($){ | |
| var depjson, | |
| builderhtml = [], | |
| sortable = [], | |
| groupBy = function( jsondata ) { | |
| var newarray = []; | |
| for (key in jsondata) { | |
| console.log( key ); | |
| } |
| @import c.css | |
| @import d.css | |
| /* A rules */ |
| /* | |
| * QUnit Qt+WebKit powered headless test runner using Phantomjs | |
| * | |
| * Phantomjs installation: http://code.google.com/p/phantomjs/wiki/BuildInstructions | |
| * | |
| * Run with: | |
| * phantomjs phantomjs-qunit-runner.js [url-of-your-qunit-testsuite] | |
| * | |
| * E.g. | |
| * phantomjs phantomjs-qunit-runner.js http://localhost/qunit/test |
| input[type=number]::-webkit-inner-spin-button { | |
| -webkit-appearance: none; | |
| } |
| function arno(){ | |
| /* | |
| * check for authenticated user | |
| */ | |
| var schema = null; | |
| var profile = null; | |
| if (params["access_token"]) { | |
| /* | |
| * Set up once and for all |
| // Author: Boy Baukema | |
| // http://github.com/relaxnow | |
| module.exports = | |
| { | |
| reporter: function (results, data, opts) | |
| { | |
| "use strict"; | |
| var files = {}, | |
| out = [], |