Skip to content

Instantly share code, notes, and snippets.

less/
|- config.less
|- mixins.less
|- utilities.less
|- variables.less
|- base/
| |- base.less
| |- scaffolding.less
| |- typography.less
| |- icons.less
@config-assets-path: "/assets/";
.row {
width: 100%;
.add-display-table;
}
.column {
min-height: 1px;
display: table-cell;
box-sizing: border-box;
}
define(['jquery', 'underscore'], function ($, _) {
var _hashes = [],
hashify;
hashify = function (params) {
return JSON.stringify(params);
};
return function (url, options) {
var hash,
@pukhalski
pukhalski / device.js
Created September 14, 2015 19:38
`onBreakpointChange` demo
define('core/device', function() {
'use strict';
return {
width: function() {
return (window.innerWidth > 0) ? window.innerWidth : screen.width;
},
height: function() {
return (window.innerHeight > 0) ? window.innerHeight : screen.height;
[
{
"id":1,
"createdAt":"Tue Feb 16 2016 19:24:24 GMT+0100 (CET)",
"createdBy":2,
"rating":2.5,
"isFirst":false,
"comment":"That is amazing strain for sure! Magic!",
"strainId":1,
"user":{
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',