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, document, undefined) { | |
//============================================= | |
// PRINT WINDOW SIZE = | |
//============================================= | |
var isButtonInsertedToBody; | |
var windowSizePrint = function() { | |
if (!isButtonInsertedToBody) { | |
document.body.insertAdjacentHTML("beforeend", '<div id="window-size-info"><div><span class="w"></span> X <span class="h"></span></div><style type="text/css">#window-size-info{z-index:9999999;position:fixed;right:0px;bottom:30px;padding:3px 8px;font-family:"Open Sans","Lato",Tahoma;font-size:15px;color:#fff;background-color:#000;box-shadow:0 0 0 2px#fff;}</style></div>'); | |
isButtonInsertedToBody = true; | |
} |
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
//======================================= | |
// CHECK TC ID = | |
//======================================= | |
var checkTcNum = function(value) { | |
value = value.toString(); | |
var isEleven = /^[0-9]{11}$/.test(value); | |
var totalX = 0; | |
for (var i = 0; i < 10; i++) { | |
totalX += Number(value.substr(i, 1)); | |
} |
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
//==================================== | |
// FOR LOOP = | |
//==================================== | |
.for(@i, @n) { | |
.-each(@i) | |
} | |
.for(@n) when (isnumber(@n)) { | |
.for(1, @n) | |
} |
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
// change to false if its not imported into bootstrap | |
$use-bootstrap: false; | |
// margin and padding values array | |
$space-values : ( | |
5, | |
10, | |
15, | |
20, | |
30, |
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
{ | |
"version": "1.0.0", | |
"name": "blank-less", | |
"publishConfig": { | |
"proprietary-attribs": false | |
}, | |
"description": "Blank Less Template", | |
"author": "Ömer Aslanbakan", | |
"repository": { | |
"type": "git", |
OlderNewer