diff --git a/lib/bootstrap.ts b/lib/bootstrap.ts index af87fe7884..a5e60f64ff 100644 --- a/lib/bootstrap.ts +++ b/lib/bootstrap.ts @@ -21,5 +21,4 @@ $injector.requireCommand("prepare", "./commands/prepare"); $injector.requireCommand("build", "./commands/build"); $injector.require("npm", "./node-package-manager"); -$injector.require("propertiesParser", "./properties-parser"); $injector.require("config", "./config"); diff --git a/lib/common b/lib/common index 2af7b7d96a..5b9a9f2591 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit 2af7b7d96a1765d19609e6002b5ad5faedf8f7a1 +Subproject commit 5b9a9f2591bbaa1cd0d977ee12e0157ae844963b diff --git a/lib/declarations.ts b/lib/declarations.ts index 02b3c54241..1d17b3ea3d 100644 --- a/lib/declarations.ts +++ b/lib/declarations.ts @@ -4,8 +4,4 @@ interface INodePackageManager { install(packageName: string, pathToSave?: string): IFuture; } -interface IPropertiesParser { - createEditor(filePath: string): IFuture; -} - interface IStaticConfig extends Config.IStaticConfig { } \ No newline at end of file diff --git a/lib/definitions/properties-parser.d.ts b/lib/definitions/properties-parser.d.ts deleted file mode 100644 index e214062da3..0000000000 --- a/lib/definitions/properties-parser.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare module "properties-parser" { - function createEditor(path: string, callback: (err: IErrors, data: any) => void); -} \ No newline at end of file diff --git a/lib/properties-parser.ts b/lib/properties-parser.ts deleted file mode 100644 index 9b77eeaf4f..0000000000 --- a/lib/properties-parser.ts +++ /dev/null @@ -1,20 +0,0 @@ -/// - -import propertiesParser = require("properties-parser"); -import Future = require("fibers/future"); - -export class PropertiesParser implements IPropertiesParser { - public createEditor(filePath: string) { - var future = new Future(); - propertiesParser.createEditor(filePath, (err, data) => { - if(err) { - future.throw(err); - } else { - future.return(data); - } - }); - - return future; - } -} -$injector.register("propertiesParser", PropertiesParser); \ No newline at end of file