Skip to content

Instantly share code, notes, and snippets.

View devote's full-sized avatar

Dmitrii Pakhtinov devote

View GitHub Profile
@devote
devote / XDomainRequest.js
Created April 2, 2014 13:17
XDomainRequest polyfill for HTML4 browsers (IE7, IE6, etc.)
/*
* XDomainRequest polyfill for HTML4 browsers (IE7, IE6, etc.) v0.1.0
*
* Required: jClass 1.4.0+
*
* Copyright 2012-2014, Dmitriy Pakhtinov ( spb.piksel@gmail.com )
*
* http://spb-piksel.ru/ - https://github.com/devote
*
* Dual licensed under the MIT and GPL licenses:
@devote
devote / connect-example.html
Last active December 12, 2015 04:58
The plugin includes support for older non-HTML5 browsers for the library: https://github.com/visionmedia/page.js
<!DOCTYPE html>
<html>
<head>
<title>Basic</title>
<script src="/history.js"></script>
<script src="/page.js"></script>
<script src="/history-plugin.js"></script>
</head>
<body>
<script>
@devote
devote / Component.class.js
Last active December 10, 2015 04:08
class SP.Component, required "class.js" v1.2.0
/**
* Component является общим предком всех классов компонентов.
*
* @author <a href="mailto:spb.piksel@gmail.com">Dmitrii Pakhtinov</a>
* @requires jClass
* @version 2.0
* @date 12/20/2012
*
* @namespace SP
*/
@devote
devote / PCREConverter.php
Created November 14, 2012 11:58
PCRE Converter
<?php
/**
* Конвертер регулярного выражения
*
* @author Pakhtinov Dmitriy
* @copyright 2012 Pakhtinov Dmitriy
* @data 14.11.2012
*/
class PCREConverter {
@devote
devote / README.md
Created June 11, 2012 03:46
localStorage for Internet Explorer 7 and below - rewrited
@devote
devote / css.js
Created June 7, 2012 03:54
CSS box-shadow test
/*
* CSS API for Internet Explorer v0.0.1
*
* Copyright 2012, Dmitriy Pakhtinov ( spb.piksel@gmail.com )
*
* http://spb-piksel.ru/
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html