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 TM = {}; | |
TM.staggerTo = function(targets, duration, vars, stagger, onCompleteAll, onCompleteAllParams, onCompleteAllScope) { | |
stagger = stagger || 0; | |
var delay = vars.delay || 0, | |
a = [], | |
finalComplete = function() { | |
if (vars.onComplete) { | |
vars.onComplete.apply(vars.onCompleteScope || 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Image Load</title> | |
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | |
</head> | |
<body> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Image Load</title> | |
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | |
</head> | |
<body> |
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
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, del, dfn, em, img, q, s, samp, small, strike, strong, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
font-size: 100%; |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>SMS sender</title> | |
<style> | |
body { | |
font-family: Helvetica; |
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
//-------------------------------------------------------------- | |
// Width to ratio | |
// You can pass to the mixin the target and the context in units: | |
// fixed-to-fluid(35px, 100px); | |
// Or you can pass just ratio from the pixels | |
// fixed-to-fluid(35/100); | |
//-------------------------------------------------------------- | |
@function fixed-to-fluid($target-width, $context-width:false) { | |
//Process ratio |
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
(function(window) | |
{ | |
var $ = function(expression) | |
{ | |
if(!(this instanceof $)) | |
{ | |
return new $(expression); | |
} |
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
; | |
(function (window) { | |
'use strict'; | |
var xBuild = (function () { | |
var xGlobals = { | |
newElementRegex: /<(\w+)\s?\/>/, | |
}; |
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
SpecialChars['А'] = {code: 0x0410, charset: 6}; | |
SpecialChars['Б'] = {code: 0x0411, charset: 6}; | |
SpecialChars['В'] = {code: 0x0412, charset: 6}; | |
SpecialChars['Г'] = {code: 0x0413, charset: 6}; | |
SpecialChars['Д'] = {code: 0x0414, charset: 6}; | |
SpecialChars['Е'] = {code: 0x0415, charset: 6}; | |
SpecialChars['Ж'] = {code: 0x0416, charset: 6}; | |
SpecialChars['З'] = {code: 0x0417, charset: 6}; | |
SpecialChars['И'] = {code: 0x0418, charset: 6}; | |
SpecialChars['Й'] = {code: 0x0419, charset: 6}; |
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
console.log('%cHello from\n%cThe other side',[ | |
'font-family: \'Helvetica\'', | |
'font-weight: normal', | |
'font-size: 15px', | |
'line-height: 1.25', | |
].join(';'), [ | |
'font-family: "Helvetica"', | |
'font-weight: 600', | |
'font-size: 15px', | |
'line-height: 1.25', |
OlderNewer