Skip to content

Instantly share code, notes, and snippets.

View gabrielschulhof's full-sized avatar

Gabriel Schulhof gabrielschulhof

  • California, USA
View GitHub Profile
DocumentRoot /mnt/babulina/var/www/secure
<Directory />
Options FollowSymLinks
AllowOverride None
AuthType Basic
AuthUserFile /etc/apache2/htpasswd
AuthName "Enter password"
Require valid-user
</Directory>
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
//>>description: The mobile namespace on the jQuery object
//>>label: Namespace
//>>group: Core
define([ "jquery" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $ ) {
$.mobile = {};
if ( !$.fn.enhance ) {
$.fn.enhance = $.noop;
( function() {
var simple = require( "simple" );
console.log( simple() );
} );
( function() {
module.exports = function() {
return "Hello, world!";
};
} );
diff --git a/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html b/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
index bfe24e7..36dc934 100644
--- a/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
+++ b/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
- <script src="../../../../external/jquery/jquery.js"></script>
+ <script src="http://code.jquery.com/jquery-2.1.3.js"></script>
[nix@archie jqm]$ date; node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/bin/phantomjs ./phantom.js
Thu Mar 26 14:22:00 EET 2015
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
Request: http://localhost/nix/jqm/external/jquery/jquery.js
Request: http://localhost/nix/jqm/js/
Request: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-redirect.html#/nix/jqm/tests/integration/navigation/sequence/index.html&ui-state=dialog
Status: fail
[nix@archie jqm]$ date; node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/bin/phantomjs ./phantom.js
Thu Mar 26 14:22:02 EET 2015
getFocusElement: function( theDocument ) {
try {
return theDocument.activeElement;
} catch( anException ){}
},
// Able to handle an element, a window, or a document
// Given a window or a document, it will safely blur its active element
// Given an element, it will safely blur it
safelyBlur: function( entity ) {
awful.key({ "Mod1", }, " ",
function (c)
local grabberCopy
local grabberCallback = awful.keygrabber.run(
function( mod, key, event )
local stopGrabbing = false
if key == "x" and event == "press" then
c.maximized_horizontal = not c.maximized_horizontal
c.maximized_vertical = not c.maximized_vertical
diff --git a/css/structure/jquery.mobile.core.css b/css/structure/jquery.mobile.core.css
index d2614ff..e9fef56 100644
--- a/css/structure/jquery.mobile.core.css
+++ b/css/structure/jquery.mobile.core.css
@@ -2,6 +2,7 @@
.ui-mobile,
.ui-mobile body {
height: 99.9%;
+ overflow-x: hidden;
}
// As things stand:
blah.widgetname( "option", "classes", $.extend( {}, blah.widgetname( "option", "classes" ), {
"ui-widgetname-structure":
$( "<div>" )
.attr( "class", blah.widgetname( "option", "classes" )[ "ui-widgetname-structure" ] )
.removeClass( "ui-classes ui-you ui-want ui-to ui-remove" )
.addClass( "ui-other-classes ui-slated ui-for ui-addition" )
.attr( "class" )
});