A very basic starter template with fundamental HTML5 markup -- only the basics.
Based on HTML5 Bones | http://html5bones.com
var ComparisonTable = (function ($) { | |
var init = function () { | |
$("td, th").on('mouseenter',function() { | |
var col = $(this).parent().children().index($(this)); | |
$('.eh-column').each(function () { | |
$(this).removeClass(); | |
}); | |
$('#column-' col).attr('class', 'column-boarder'); |
require('entities/productDetails/hotelImages'); | |
require('../views/productAllInfo'); | |
var App = require('src/app'); | |
var Backbone = require('backbone'); | |
var Marionette = require('backbone.marionette'); | |
var layoutTemplate = require('../templates/product.hbs'); | |
var Gallery = require('brg-ui-gallery'); |
var _ = require('underscore'); | |
var Backbone = require('backbone'); | |
var Marionette = require('backbone.marionette'); | |
var App = require('../../../../../src/app'); | |
var ProductItemLayout = require('../../../../../src/lib/components/productCard/layout/productItemLayout'); | |
var productsCardChannel = Backbone.Wreqr.radio.channel('productsCard'); | |
describe('Product Item Layout View', function () { | |
beforeEach(function () { |
var $ = require('jquery'); | |
var _ = require('underscore'); | |
var Backbone = require('backbone'); | |
var Marionette = require('backbone.marionette'); | |
var ProductShowController = require('apps/products/show/productShowController.js'); | |
var App = require('src/app.js'); | |
var productsShowChannel = Backbone.Wreqr.radio.channel('productsShow'); | |
describe('productShowController', function () { |
require('./layout/searchResultsLayout'); | |
require('./views/productList'); | |
require('entities/map.js'); | |
require('./views/mapView'); | |
//Service dependencies | |
require('services/search'); | |
require('services/modifyProduct'); | |
require('services/productInfo'); |
var Backbone = require('backbone'); | |
var Marionette = require('backbone.marionette'); | |
var _ = require('underscore'); | |
var mapTemplate = require('../templates/map.hbs'); | |
var getThemeAssets = require('../../../../helpers/getThemeAssets'); | |
var productsListChannel = Backbone.Wreqr.radio.channel('productsList'); | |
var MapView = Marionette.ItemView.extend({ |
var Backbone = require('backbone'); | |
var MapView = require('../../../../../src/apps/products/list/views/mapView'); | |
var productsListChannel = Backbone.Wreqr.radio.channel('productsList'); | |
describe('Map View', function () { | |
beforeEach(function () { | |
window.google = { | |
maps: {} | |
}; |
// Here are some variables, then a mixin and then an application of the mixin - this will only compile using Sass 3.2 | |
//variables | |
$XS: 12.5em; // 200px; | |
$S: 18.75em; // 300px | |
$SM: 35em; // 560px | |
$M: 47.5em; // 760px | |
$L: 63em; // 1008px | |
$XL: 110em; // 1760px | |
$XXL: 180em; // 2880px |
A very basic starter template with fundamental HTML5 markup -- only the basics.
Based on HTML5 Bones | http://html5bones.com
{ | |
"disallowEmptyBlocks": true, | |
"disallowSpacesInsideArrayBrackets": true, | |
"disallowSpacesInsideParentheses": true, | |
"disallowQuotedKeysInObjects": true, | |
"disallowSpaceAfterObjectKeys": true, | |
"disallowSpaceAfterPrefixUnaryOperators": true, | |
"disallowSpaceBeforePostfixUnaryOperators": true, | |
"disallowSpaceBeforeBinaryOperators": [ | |
"," |