Skip to content

Commit 7340085

Browse files
committed
Fix build
1 parent 07cd156 commit 7340085

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ BIN = ../node_modules/.bin
55
PATH := $(BIN):$(PATH)
66
NODE_PATH := ./src/node_modules/:$(NODE_PATH)
77
TARGETS = \
8-
react-router-component.js \
9-
react-router-component.min.js
8+
react-router-component.js
109

1110
build: $(TARGETS)
1211

react-router-component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
batchedUpdates: function(cb) { cb(); }
4545
};
4646

47+
var __ReactAsyncShim = window.__ReactAsyncShim = window.__ReactAsyncShim || {};
4748
__ReactAsyncShim.isAsyncComponent = ReactAsync.isAsyncComponent;
4849
__ReactAsyncShim.prefetchAsyncState = ReactAsync.prefetchAsyncState;
4950

50-
return
51-
(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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(__browserify__,module,exports){
51+
return (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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++) return s(r[o]);return s})({1:[function(__browserify__,module,exports){
5252
"use strict";
5353

5454
var Router = __browserify__('./lib/Router');

react-router-component.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

shim.begin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
batchedUpdates: function(cb) { cb(); }
4545
};
4646

47+
var __ReactAsyncShim = window.__ReactAsyncShim = window.__ReactAsyncShim || {};
4748
__ReactAsyncShim.isAsyncComponent = ReactAsync.isAsyncComponent;
4849
__ReactAsyncShim.prefetchAsyncState = ReactAsync.prefetchAsyncState;
4950

0 commit comments

Comments
 (0)