redirect large tutorial button to theme tutorials
This commit is contained in:
Родитель
eaefde1388
Коммит
7a606d8f1e
10
Jakefile
10
Jakefile
|
@ -402,8 +402,16 @@ task('clean', [], function () {
|
|||
jake.rmRf('build/');
|
||||
});
|
||||
|
||||
desc('display info about installed tools')
|
||||
task('info', [], { async: true }, function () {
|
||||
var task = this;
|
||||
jake.exec([ 'tsc --version' ],
|
||||
{ printStdout: true, printStderr: true },
|
||||
function() { task.complete(); });
|
||||
});
|
||||
|
||||
desc('run local test suite')
|
||||
task('test', [ 'build/client.js', 'default', 'nw-build' ], { async: true }, function () {
|
||||
task('test', [ 'info', 'build/client.js', 'default', 'nw-build' ], { async: true }, function () {
|
||||
var task = this;
|
||||
console.log("[I] running tests")
|
||||
jake.exec([ 'node build/client.js buildtest' ],
|
||||
|
|
|
@ -1094,8 +1094,12 @@ module TDev.Browser {
|
|||
|
||||
private startTutorialButton(t:Ticks)
|
||||
{
|
||||
var elt = this.mkFnBtn(lf("Tutorials"), () => {
|
||||
Util.setHash('#topic:tutorials');
|
||||
var elt = this.mkFnBtn(lf("Tutorials"),() => {
|
||||
var topic = "tutorials";
|
||||
var theme = EditorSettings.hubTheme();
|
||||
if (theme && theme.tutorialsTopic)
|
||||
topic = theme.tutorialsTopic;
|
||||
Util.setHash('#topic:' + topic);
|
||||
}, t, true, 3, dirAuto(div("hubTileOver", lf("Create your own apps"))));
|
||||
|
||||
if (!Browser.lowMemory) {
|
||||
|
|
1
vs.sln
1
vs.sln
|
@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ts", "ts", "{DEB60A00-BDAC-
|
|||
CONTRIBUTING.md = CONTRIBUTING.md
|
||||
www\index.html = www\index.html
|
||||
Jakefile = Jakefile
|
||||
package.json = package.json
|
||||
README.md = README.md
|
||||
tsd.json = tsd.json
|
||||
vsrefs.ts = vsrefs.ts
|
||||
|
|
Загрузка…
Ссылка в новой задаче