Some functions which applies to scoped tags in general moved from TaskTag to Task model.
Also, some stylish and whitespace changes and docstrings added.
/**
* @constructor
*/
function Outer() {
/**
* @constructor
*/
function Inner(name) {
/** The name of this. */
this.name = name;
}
this.open = function(name) {
return (new Inner(name));
}
}