replace internal module to namespace

This commit is contained in:
vvakame
2016-03-17 02:18:10 +09:00
parent 2f47c75835
commit 14fe4313f4
1139 changed files with 179639 additions and 179639 deletions
+6 -6
View File
@@ -19,7 +19,7 @@ import TestBackend = require('react-dnd/modules/backends/Test');
// Game Component
// ----------------------------------------------------------------------
module Game {
namespace Game {
var knightPosition = [0, 0];
var observer: any = null;
@@ -59,7 +59,7 @@ var ItemTypes = {
// Knight Component
// ----------------------------------------------------------------------
module Knight {
namespace Knight {
interface KnightP extends React.Props<Knight> {
connectDragSource: ReactDnd.ConnectDragSource;
connectDragPreview: ReactDnd.ConnectDragPreview;
@@ -111,7 +111,7 @@ module Knight {
// Square Component
// ----------------------------------------------------------------------
module Square {
namespace Square {
interface SquareP extends React.Props<Square> {
black: boolean;
}
@@ -133,7 +133,7 @@ module Square {
// BoardSquare Component
// ----------------------------------------------------------------------
module BoardSquare {
namespace BoardSquare {
interface BoardSquareP extends React.Props<BoardSquare> {
x: number;
y: number;
@@ -204,7 +204,7 @@ module BoardSquare {
// Custom Drag Layer Component
// ----------------------------------------------------------------------
module CustomDragLayer {
namespace CustomDragLayer {
interface CustomDragLayerP extends React.Props<CustomDragLayer> {
isDragging?: boolean;
item?: Object;
@@ -231,7 +231,7 @@ module CustomDragLayer {
// Board Component
// ----------------------------------------------------------------------
module Board {
namespace Board {
interface BoardP extends React.Props<Board> {
knightPosition: number[];
}