This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2013 Host Europe Group - All rights reserved. | |
// The 123-reg mobile site | |
if (!Object.keys) { | |
Object.keys = (function () { | |
'use strict'; | |
var hasOwnProperty = Object.prototype.hasOwnProperty, | |
hasDontEnumBug = !({ | |
toString: null | |
}).propertyIsEnumerable('toString'), | |
dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var wrappedResourceMethods = [ | |
'get', 'query' | |
]; | |
var wrappedResource = function (resource) { | |
_.each(wrappedResourceMethods, function (method) { | |
if (_.has(resource, method)) { | |
var originalMethod = resource[method]; | |
resource[method] = function () { | |
var result = originalMethod.apply(this, arguments); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdfdfdsff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
class HoldListener extends React.Component { | |
constructor() { | |
super(); | |
} | |
handleMouseDown() { | |
this.timeout = setTimeout(this.props.onHold, this.props.threshold); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cc_banner-wrapper { | |
z-index: 9001; | |
position: relative | |
} | |
.cc_container .cc_btn { | |
cursor: pointer; | |
text-align: center; | |
font-size: 0.6em; | |
transition: font-size 200ms; | |
line-height: 1em |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Defaults | |
grid = [10,10] | |
container = "#container" | |
# Button types | |
buttons = | |
text : | |
html : '<div> | |
<div class="content"> | |
Double click to edit me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Defaults | |
grid = [10,10] | |
container = "#container" | |
# Button types | |
buttons = | |
text : | |
html : '<div> | |
<div class="content"> | |
Double click to edit me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Defaults | |
grid = [10,10] | |
container = "#container" | |
# Button types | |
buttons = | |
text : | |
html : '<div> | |
<div class="content"> | |
Double click to edit me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1g fat = 9 kcal | |
1g protein/carbs = 4 kcal | |
Working Day | |
================================== | |
3000 calories | |
200g+ carbs | |
50g fat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1g protein/carbs = 4 kcal | |
Aim for 160-250g of protein | |
Working Day | |
================================== | |
2500 calories | |
230g carbs | |
270g protein |
OlderNewer