react-supercomponents
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -26,2 +26,3 @@ 'use strict'; | ||
(function () { | ||
console.log("is in view"); | ||
var image = new Image(); | ||
@@ -28,0 +29,0 @@ image.src = src; |
@@ -73,2 +73,4 @@ 'use strict'; | ||
var style = _props.style; | ||
console.log(src); | ||
var isInView = this.state.isInView; | ||
@@ -75,0 +77,0 @@ |
{ | ||
"name": "react-supercomponents", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Data-aware react components that make performant app development easy", | ||
@@ -44,2 +44,3 @@ "main": "lib/index.js", | ||
"react": "^15.0.0-rc.2", | ||
"react-komposer": "^1.7.1", | ||
"react-addons-test-utils": "^15.0.0-rc.2", | ||
@@ -53,4 +54,3 @@ "react-dom": "^15.0.0-rc.2", | ||
"react": "0.14.x || 15.x || ^15.0.0-rc", | ||
"react-dom": "0.14.x || 15.x || ^15.0.0-rc", | ||
"react-komposer": "^1.7.1" | ||
"react-dom": "0.14.x || 15.x || ^15.0.0-rc" | ||
}, | ||
@@ -57,0 +57,0 @@ "scripts": { |
import { compose } from 'react-komposer'; | ||
import { ImageComponentLoaded, ImageComponentError } from './image-component.js'; | ||
import { ImageComponentLoading } from './image-component.js'; | ||
import { ImageComponentLoading, ImageComponentError } from './image-component.js'; | ||
import { ImageComponentLoaded } from './image-component.js'; | ||
@@ -18,2 +18,3 @@ const onError = (data) => { | ||
if (inView) { | ||
console.log("is in view"); | ||
const image = new Image(); | ||
@@ -20,0 +21,0 @@ image.src = src; |
@@ -34,2 +34,3 @@ import React from 'react'; | ||
const { src, style } = this.props; | ||
console.log(src); | ||
const { isInView } = this.state; | ||
@@ -36,0 +37,0 @@ return ( |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46816212
6
54736
33