Comparing version 0.3.3 to 0.3.4
@@ -17,2 +17,6 @@ 'use strict'; | ||
var _react = require('react'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _base = require('./base'); | ||
@@ -35,6 +39,6 @@ | ||
if (this.state.valid) { | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'div', | ||
{ className: 'katap-embed katap-instagram' }, | ||
React.createElement('iframe', { | ||
_react2['default'].createElement('iframe', { | ||
src: '//instagram.com/p/' + this.state.id + '/embed', | ||
@@ -45,3 +49,3 @@ frameBorder: 0, | ||
} | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'div', | ||
@@ -48,0 +52,0 @@ { className: 'katap-embed' }, |
@@ -17,2 +17,6 @@ 'use strict'; | ||
var _react = require('react'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _base = require('./base'); | ||
@@ -35,6 +39,6 @@ | ||
if (this.state.valid) { | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'div', | ||
{ className: 'katap-embed katap-vimeo' }, | ||
React.createElement('iframe', { | ||
_react2['default'].createElement('iframe', { | ||
src: '//player.vimeo.com/video/' + this.state.id, | ||
@@ -47,3 +51,3 @@ frameBorder: 0, | ||
} | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'div', | ||
@@ -50,0 +54,0 @@ { className: 'katap-embed' }, |
@@ -17,2 +17,6 @@ 'use strict'; | ||
var _react = require('react'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _base = require('./base'); | ||
@@ -35,6 +39,6 @@ | ||
if (this.state.valid) { | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'div', | ||
{ className: 'katap-embed katap-youtube' }, | ||
React.createElement('iframe', { | ||
_react2['default'].createElement('iframe', { | ||
src: '//youtube.com/embed/' + this.state.id, | ||
@@ -47,3 +51,3 @@ frameBorder: 0, | ||
} | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'div', | ||
@@ -50,0 +54,0 @@ { className: 'katap-embed' }, |
@@ -70,9 +70,3 @@ 'use strict'; | ||
// if(typeof window !== 'undefined') { | ||
// window.Kattappa = window.Kattappa || {}; | ||
// window.Kattappa.Blocks = window.Kattappa.Blocks || {}; | ||
// window.Kattappa.Blocks.H2 = H2; | ||
// } | ||
exports['default'] = H2; | ||
module.exports = exports['default']; |
@@ -17,2 +17,6 @@ 'use strict'; | ||
var _react = require('react'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _ol = require('./ol'); | ||
@@ -36,3 +40,3 @@ | ||
value: function render() { | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'ul', | ||
@@ -39,0 +43,0 @@ { className: 'katap-list' }, |
@@ -133,8 +133,3 @@ 'use strict'; | ||
if (typeof window !== 'undefined') { | ||
window.Kattappa = window.Kattappa || {}; | ||
window.Kattappa.Component = window.Kattappa.Component || {}; | ||
window.Kattappa.Component.Droppable = Droppable; | ||
} | ||
exports['default'] = Droppable; | ||
module.exports = exports['default']; |
@@ -231,9 +231,3 @@ 'use strict'; | ||
// if(typeof window !== 'undefined') { | ||
// window.Kattappa = window.Kattappa || {}; | ||
// window.Kattappa.Component = window.Kattappa.Component || {}; | ||
// window.Kattappa.Component.QuillComponent = QuillComponent; | ||
// } | ||
exports['default'] = QuillComponent; | ||
module.exports = exports['default']; |
{ | ||
"name": "kattappa", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "A block based rich text editor with support of Images, embeds( Youtube, twitter, etc)", | ||
@@ -5,0 +5,0 @@ "main": "./npm/index.js", |
94276
1768