This file contains hidden or 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
<div class="container__list"> | |
<li class="container__list__item">Индивидуальный подход к каждому клиенту</li> | |
<li class="container__list__item">Быстрота подтверждения ваших заявок</li> | |
<li class="container__list__item">Отсутствие штрафных санкций, при своевременном отказе от заказа</li> | |
<li class="container__list__item">Возможность поэтапной оплаты (частичной предоплаты)</li> | |
</div> |
This file contains hidden or 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
<?php | |
$price = array( | |
'elements'=>array( | |
0 => array( | |
'name'=>'Желоб водосточный 3000', | |
't'=>'Оцинковка', | |
'trench_width'=>'125/90', | |
'price'=>270, |
This file contains hidden or 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
/** | |
* trigger to send yandex tag | |
*/ | |
window.sendyatag(this, data); | |
window.sendyatag = function(obj, data){ | |
var tag; | |
tag = ''; |
This file contains hidden or 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
/** | |
Theme Name: {theme name} | |
Theme URI: {theme url} | |
Description: {descr} | |
Author: {author} | |
Author URI: {author url} | |
Version: {version} | |
**/ |
This file contains hidden or 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
/** | |
* либа, базовый набор. | |
* Принимает входящие параметры. | |
*/ | |
// Backbone.Model.prototype.attributes.action = 'asdasd'; | |
var Glib = function(tmp){ | |
var Lib = this; |
This file contains hidden or 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
$(document).on('keyup', '.numeric', function(e){ | |
var val = false; | |
var sKeys = [0, 8, 9, 16, 17, 18, 37, 38, 39, 40, 144]; | |
var re = /^[0-9]*$/; | |
var text = String.fromCharCode(e.keyCode); | |
if(this.value){ | |
val = this.value; | |
}else if(this.innerHTML){ |
This file contains hidden or 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 items = _.sortBy(this.models, function(model){ | |
var custom_data = ''; | |
custom_data += model.get('year').toString(); | |
custom_data += model.get('month').toString(); | |
custom_data += model.get('week').toString(); | |
model.set({sort_data:parseInt(custom_data)},{silent:true}); | |
return parseInt(custom_data); |
This file contains hidden or 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 apiRelationalCollection = { | |
method:false, | |
type:false, | |
loading:function(data){ | |
return data; | |
}, | |
data:false, | |
relational:false, | |
}; |
This file contains hidden or 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 removeFunc = Backbone.View.prototype.remove; | |
Backbone.View.prototype.remove = function(){ | |
if(this.children){ | |
_.each(this.children, function(item){ | |
item.remove(); | |
}); | |
} |
This file contains hidden or 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
/** | |
* media height | |
*/ | |
@media (max-height:320px){ | |
} | |
@media (min-height: 480px) { | |
} |