Skip to content

Commit

Permalink
update testsite
Browse files Browse the repository at this point in the history
  • Loading branch information
joelesko committed Nov 13, 2019
1 parent f798254 commit 19181cd
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
Binary file modified tht/testsite/app/data/db/app.db
Binary file not shown.
14 changes: 12 additions & 2 deletions tht/testsite/app/pages/errors.tht
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,18 @@

// too few arguments
// TODO: message formatting
go(123);
function go($foo:s) { }
// go(123);
// function go($foo:s) { }

Response.sendHtml(scriptHtml());


T scriptHtml {
Hello
<script foo='bar'>
console.log('test');
</>
}

//Math.cos();

Expand Down
2 changes: 1 addition & 1 deletion tht/testsite/app/settings/app.jcon
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

memoryLimitMb: 32

_coreDevMode: false
_coreDevMode: true

hitCounter: false
compressOutput: true
Expand Down
2 changes: 1 addition & 1 deletion tht/testsite/public/sideloadTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once('../../main/Tht.php');
require_once('../../main/ThtSide.php');

$mod = Tht::module('TestModule');

Expand Down
2 changes: 1 addition & 1 deletion tht/testsite/public/thtApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

define('APP_ROOT', '../app');
define('DATA_ROOT', '../app/data');
define('THT_RUNTIME', '../../main/ThtApp.php');
define('THT_RUNTIME', '../../main/Tht.php');

return require_once(THT_RUNTIME);

0 comments on commit 19181cd

Please sign in to comment.