Skip to content

Commit 000c639

Browse files
authored
Merge pull request #41 from NativeScript/fatme/app-folder
feat: move all source code to the app folder
2 parents 6d5a1d7 + dd2df8d commit 000c639

23 files changed

+23
-5
lines changed
File renamed without changes.
File renamed without changes.

app.ts renamed to app/app.ts

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

main-view-model.ts renamed to app/main-view-model.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference path="./declarations.d.ts"/>
1+
/// <reference path="../declarations.d.ts"/>
22
import { Observable } from "tns-core-modules/data/observable";
33
import { ObservableArray } from "tns-core-modules/data/observable-array";
44
import * as http from "tns-core-modules/http";
@@ -21,7 +21,7 @@ function enableSocketIoDebugging() {
2121
global.window = global;
2222
}
2323

24-
var config: INetworkConfiguration = require('./config');
24+
var config: INetworkConfiguration = require('../config');
2525
config.options = config.options || {};
2626
if (!config.options.appDirectoryRelativePath) {
2727
config.options.appDirectoryRelativePath = "app";
@@ -207,7 +207,7 @@ export class TestBrokerViewModel extends Observable {
207207
};
208208

209209
this.updateView({ serverInfo: `connecting to ${this.baseUrl}`});
210-
let io = require('./socket.io');
210+
let io = require('../socket.io');
211211
const socket = this.socket = io.connect(this.baseUrl, { forceBase64: true });
212212

213213
socket.on('connect', err => {

0 commit comments

Comments
 (0)