Skip to content

Instantly share code, notes, and snippets.

View dmitry-kurmanov's full-sized avatar
💭
complexity is imperfection

Dmitry Kurmanov dmitry-kurmanov

💭
complexity is imperfection
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Drag Drop Touch Example</title>
<style>
.top, .bottom {
/*Type definitions for Surveyjs Builder(Editor) JavaScript library v1.0.15
(c) Devsoft Baltic O� - http://surveyjs.io/
Github: https://github.com/surveyjs/editor
License: https://surveyjs.io/Licenses#BuildSurvey
*/
// Dependencies for this module:
// ../../../survey-knockout
import * as Survey from "survey-knockout";
/*Type definitions for Survey JavaScript library v0.12.18
Project: http://surveyjs.org/
Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/>
*/
// Dependencies for this module:
// ../../../../react
import * as React from 'react';
import './chunks/localization';
This file has been truncated, but you can view the full file.
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("jquery"));
else if(typeof define === 'function' && define.amd)
define("Survey", ["jquery"], factory);
else if(typeof exports === 'object')
exports["Survey"] = factory(require("jquery"));
else
root["Survey"] = factory(root["jQuery"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_34__) {
@dmitry-kurmanov
dmitry-kurmanov / react-reusable-component.md
Created December 6, 2016 07:17 — forked from ericelliott/react-reusable-component.md
React - Complete Reusable Component

React Reusable Component Factory

'use strict';

const ENTER_KEY = 13;

const emailFactory = function ({
  React,
  setEmail,