/guid/9202a8c04000641f8000000007bf20c5 rename

author:

contributor:

published:

updated:

source uri:

Acre Doc /freebase/acre_doc

Handler:

Default Configuration:

Acre Doc /freebase/acre_doc

Handler:

Default Configuration:

Summary

acre.log('testing bugs');

function bug(name) {
acre.log('============= Bug '+name+' ============...

Content

acre.log('testing bugs');

function bug(name) {
acre.log('============= Bug '+name+' ============================');
}

bug('pararms');
// acre.environ.params.missing_paramter;

/* --> TypeError: Cannot read property "missing_paramter" from undefined */


bug('filename');
// object_never_defined.property;

/* --> ReferenceError: .... at acre_script.acreboot.js:396
WILL: I would expect the error to be in _this_ file, not in acreboot. */


bug('stringify');
if (JSON.stringify(1)=="1.0") { acre.log.warn('1 has been converted to 1.0'); }



bug('no_var_name');
// acre.func_never_defined();

/* --> TypeError: Cannot find function func_never_defined in object [object Object].
WILL: Should be in object 'acre' */


acre.start_response(200, { 'content-type': 'text/html; charset="UTF-8"' });
acre.write('No tests enabled, please uncomment one of the bugs');

Created by: willmoffat Mar 29, 2008
Last edited by: Constant Gardener Process Aug 18, 2009

Recent Discussions about None

There is no discussion about this document.

Start the Discussion »
Explore the Data
View all the data we have for /guid/9202a8c04000641f8000000007bf20c5
Flag this Document
Why do you want to flag this document?