Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from stevepiercy/v9.3
Comment loading of l-debug, optionally allowing users to load. l-debu…
- Loading branch information
Showing
1 changed file
with
34 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,38 @@ | ||
[ | ||
/* ===================================================== | ||
Pull in core methods | ||
This is done in-order so if you wish to load any before others then shuffle the order of the array as desired. | ||
===================================================== */ | ||
local(coremethods = array( | ||
'debug.type.lasso', | ||
'knop_utils.lasso', | ||
'knop_base.lasso', | ||
'knop_cache.lasso', | ||
'knop_lang.lasso', | ||
'knop_database.lasso', | ||
'knop_form.lasso', | ||
'knop_grid.lasso', | ||
'knop_nav.lasso', | ||
'knop_user.lasso' | ||
) | ||
) | ||
<?lasso | ||
/* | ||
Load core methods in order. | ||
Optionally shuffle the loading order of elements as desired. | ||
*/ | ||
local(coremethods = array( | ||
// 'debug.type.lasso', | ||
'knop_utils.lasso', | ||
'knop_base.lasso', | ||
'knop_cache.lasso', | ||
'knop_lang.lasso', | ||
'knop_database.lasso', | ||
'knop_form.lasso', | ||
'knop_grid.lasso', | ||
'knop_nav.lasso', | ||
'knop_user.lasso' | ||
) | ||
) | ||
// (not lasso_tagExists('debug')) ? #coremethods -> insertfirst('debug.type.lasso') | ||
// Courtesy of Ke Carlton, www.l-debug.org. L-Debug for Lasso 9 All rights reserved — K Carlton 2011-2013 | ||
(not lasso_tagExists('debug')) ? #coremethods -> insertfirst('debug.type.lasso') | ||
// Courtesy of Ke Carlton. L-Debug for Lasso 9, https://github.com/zeroloop/l-debug | ||
with file in #coremethods do protect => { | ||
local(s) = micros | ||
handle => { | ||
stdoutnl( | ||
error_msg + ' (' + ((micros - #s) * 0.000001)->asstring(-precision=3) + ' seconds)' | ||
) | ||
} | ||
stdout('\t' + #file + ' - ') | ||
with file in #coremethods do protect => { | ||
local(s) = micros | ||
handle => { | ||
stdoutnl( | ||
error_msg + ' (' + ((micros - #s) * 0.000001)->asstring(-precision=3) + ' seconds)' | ||
) | ||
} | ||
web_request | ||
? library(include_path + #file) | ||
| lassoapp_include(#file) | ||
} | ||
stdout('\t' + #file + ' - ') | ||
] | ||
web_request | ||
? library(include_path + #file) | ||
| lassoapp_include(#file) | ||
} | ||
?> |