Skip to content

Instantly share code, notes, and snippets.

View arschmitz's full-sized avatar

Alexander Schmitz arschmitz

View GitHub Profile
// This is just boiuler plate dont worry about it
// This just supports loading in any enviroment
(function ( root, factory ) {
if ( typeof define === "function" && define.amd ) {
define( [], factory );
} else if ( typeof exports === "object" ) {
module.exports = factory();
} else {
root.chassis = factory();
}
{
"color-background": {
"hex": "#383838",
"pretty": "Chassis Gray - Dark"
},
"color-font": {
"hex": "#c1c1c1",
"pretty": "Chassis Gray"
},
"color-link": {
Uncaught TypeError: elem.getBoundingClientRect is not a function
jQuery.fn.extend.offset @ jquery.js:9366
$.position.getWithinInfo @ position.js:150
$.fn.position @ position.js:169
$.widget._open @ menu.js:469
(anonymous function) @ widget.js:120
(anonymous function) @ menu.js:451
handlerProxy @ widget.js:555
( function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [
"jquery"
], factory );
} else {
// Browser globals

jQuery Mobile

Q1

  • Button rewrite / merge
  • In 1.5-dev ( working branch for 1.5 ) wiating for finalization in UI before moving to master
  • Checkboxradio
  • In 1.5-dev ( working branch for 1.5 ) wiating for finalization in UI before moving to master
  • Controlgroup
  • In 1.5-dev ( working branch for 1.5 ) wiating for finalization in UI before moving to master
  • Merge Accordion
formParent: function() {
var parent;
if ( this[ 0 ].form && typeof this[ 0 ].form !== "string" ) {
return $( this[ 0 ].form );
} else if ( !this[ 0 ].form ) {
return;
}
// Support: IE8 only ( the rest of the method )
var map = $( "#map-canvas" ),
page= $( this );
$( 'input' ).on( "click", function( event ){
var selected = event.target.id,
mapPage = event.target.id === "map-page";
page.toggleClass( "map-page", mapPage );
map.[ mapPage ? "show" : "hide" ]();
map.gmap();
//>>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;
//>>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;

The SCSS

%component1--element1 {
    display: block; 
}

%component1--element1--color-modifier1 {
    color: #fff; 
}