/user/nix/acre/mjt rename

author:

contributor:

published:

updated:

source uri:

Acre Doc /freebase/acre_doc

Handler:

Default Configuration:

Acre Doc /freebase/acre_doc

Handler:

Default Configuration:

Summary

// run a mjt template found using path_info and compiled using the mjtcom acre script

acre.load...

Content

// run a mjt template found using path_info and compiled using the mjtcom acre script

acre.load_module('mjt');

var id = acre.environ.path_info;

var pkg;
function _gotscript(r) {
mjt.log('gotscript', r.source)
pkg = r;
}

var url = 'http://' + acre.environ.server_name + '/acre/mjtcom' + id + '?callback=_gotscript';
acre.load(id, url);

acre.start_response(200, {'content-type': 'text/html; charset="utf-8"'});

pkg.load();
acre.write(mjt.flatten_markup(pkg.tcall));

Created by: nix Apr 2, 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 /user/nix/acre/mjt
Flag this Document
Why do you want to flag this document?