Skip to content

Commit

Permalink
Patch to work with react-native facebook#26
Browse files Browse the repository at this point in the history
  • Loading branch information
tmitchel2 committed Sep 7, 2015
1 parent ab71f27 commit fe0496e
Show file tree
Hide file tree
Showing 107 changed files with 17,261 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
dist/
lib/
node_modules
npm-debug.log
website/build
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var babelOpts = {
optional: ['runtime'],
plugins: [babelPluginDEV, babelPluginModules],
_moduleMap: objectAssign({}, require('fbjs/module-map'), {
'React': 'react',
'React': 'react-native',
'StaticContainer.react': 'react-static-container'
})
};
Expand Down
23 changes: 23 additions & 0 deletions lib/DliteFetchModeConstants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DliteFetchModeConstants
* @typechecks
*/

'use strict';

var keyMirror = require('fbjs/lib/keyMirror');

var DliteFetchModeConstants = keyMirror({
FETCH_MODE_CLIENT: null,
FETCH_MODE_PRELOAD: null,
FETCH_MODE_REFETCH: null
});

module.exports = DliteFetchModeConstants;
Loading

0 comments on commit fe0496e

Please sign in to comment.