From 72ca2eb5f314c137e737a1752c62455d6dbd1cab Mon Sep 17 00:00:00 2001 From: Emmanouil Konstantinidis Date: Thu, 7 May 2015 22:34:27 +0100 Subject: [PATCH 1/2] Use React.createElement --- example/build/app.js | 31 ++++++++----------------------- index.js | 31 ++++++++----------------------- 2 files changed, 16 insertions(+), 46 deletions(-) diff --git a/example/build/app.js b/example/build/app.js index b002509..2f7575b 100644 --- a/example/build/app.js +++ b/example/build/app.js @@ -1,41 +1,26 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o{this.state.text} + React.createElement("div", {style: loadingStyle}, text) ); + } -}); -module.exports = Loading; +}); From 095eb7ed3598d3bff38b14628abf532848d39bdf Mon Sep 17 00:00:00 2001 From: Emmanouil Konstantinidis Date: Thu, 7 May 2015 22:35:08 +0100 Subject: [PATCH 2/2] Update version --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8652b0a..7b49b6f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Re-loading +# Reloading [![npm version](https://badge.fury.io/js/reloading.svg)](http://badge.fury.io/js/reloading) [![Build Status](https://travis-ci.org/ekonstantinidis/reloading.svg?branch=master)](https://travis-ci.org/ekonstantinidis/re-loading) diff --git a/package.json b/package.json index 9c7a21a..8a86676 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reloading", - "version": "0.0.2", + "version": "0.0.3", "description": "A Loading component for ReactJS.", "main": "index.js", "scripts": {