Skip to content

Commit f3bacc1

Browse files
committed
Syntax tweak
1 parent e571c27 commit f3bacc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/utils/ServerRendering.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function renderRoutesToString(routes, path, callback) {
5858
var id = ReactInstanceHandles.createReactRootID();
5959
transaction = ReactServerRenderingTransaction.getPooled(false);
6060

61-
transaction.perform(function() {
61+
transaction.perform(function () {
6262
var markup = component.mountComponent(id, transaction, 0);
6363
callback(null, null, ReactMarkupChecksum.addChecksumToMarkup(markup));
6464
}, null);
@@ -93,7 +93,7 @@ function renderRoutesToStaticMarkup(routes, path, callback) {
9393
var id = ReactInstanceHandles.createReactRootID();
9494
transaction = ReactServerRenderingTransaction.getPooled(false);
9595

96-
transaction.perform(function() {
96+
transaction.perform(function () {
9797
callback(null, null, component.mountComponent(id, transaction, 0));
9898
}, null);
9999
} finally {

0 commit comments

Comments
 (0)