Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 9b2a6af

Browse files
author
Paul van Brenk
committed
Update sample to use namespace for 'internal modules'
Changes the internal modules to namespaces.
1 parent c01f418 commit 9b2a6af

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

mankala/Base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///<reference path="Driver.ts"/>
22

3-
module Base {
3+
namespace Base {
44
export interface IList {
55
isHead: boolean;
66
next: IList;

mankala/Features.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///<reference path="Driver.ts"/>
22

3-
module Mankala {
3+
namespace Mankala {
44
export class Features {
55
public turnContinues = false;
66
public seedStoredCount = 0;

mankala/Game.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///<reference path="Driver.ts"/>
22

3-
module Mankala {
3+
namespace Mankala {
44
export var NoSpace = -1;
55
export var homeSpaces = [[0, 1, 2, 3, 4, 5],
66
[7, 8, 9, 10, 11, 12]];

mankala/Position.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///<reference path="Driver.ts"/>
22

3-
module Mankala {
3+
namespace Mankala {
44
export var storeHouses = [6, 13];
55
var svgNS = "http://www.w3.org/2000/svg";
66

mankala/geometry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///<reference path="Driver.ts"/>
22

3-
module Mankala {
3+
namespace Mankala {
44
export class Rectangle {
55

66
constructor (public x: number, public y: number,

0 commit comments

Comments
 (0)