chore(dart/cheatsheet): adjust path to sources (#2149)

This commit is contained in:
Patrice Chalin 2016-08-19 14:58:31 -07:00 committed by Kathy Walrath
parent 07f07742cf
commit 5d1da1e047
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ var PROJECT_PATH = path.resolve(__dirname, "../..");
var PUBLIC_PATH = path.resolve(PROJECT_PATH, 'public'); var PUBLIC_PATH = path.resolve(PROJECT_PATH, 'public');
var DOCS_PATH = path.resolve(PUBLIC_PATH, 'docs'); var DOCS_PATH = path.resolve(PUBLIC_PATH, 'docs');
var ANGULAR_REPO_PATH = path.resolve(__dirname, '../../../angular-dart'); var ANGULAR_REPO_PATH = path.resolve(__dirname, '../../../angular-dart');
var ANGULAR2_DOCS_PATH = path.resolve(ANGULAR_REPO_PATH, 'docs'); // The 'docs' folder is actually named 'doc' for angular2 Dart.
var ANGULAR2_DOCS_PATH = path.resolve(ANGULAR_REPO_PATH, 'doc');
var NG_IO_PKG_PATH = path.resolve(__dirname, "../api-builder/angular.io-package"); var NG_IO_PKG_PATH = path.resolve(__dirname, "../api-builder/angular.io-package");
function requireNgIoPkg(_path) { return require(path.resolve(NG_IO_PKG_PATH, _path)); } function requireNgIoPkg(_path) { return require(path.resolve(NG_IO_PKG_PATH, _path)); }