projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
15fce86
)
JsTemplate/Template.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 10:37:21 +0000
(18:37 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 10:37:21 +0000
(18:37 +0800)
JsTemplate/Template.js
patch
|
blob
|
history
diff --git
a/JsTemplate/Template.js
b/JsTemplate/Template.js
index
cec981a
..
ed8ae29
100644
(file)
--- a/
JsTemplate/Template.js
+++ b/
JsTemplate/Template.js
@@
-22,9
+22,8
@@
Template = XObject.define(
XObject.extend(this, cfg)
//this.templateFile = templateFile;
if (!this.templateFile || !this.Link) {
XObject.extend(this, cfg)
//this.templateFile = templateFile;
if (!this.templateFile || !this.Link) {
- throw {
- "No templateFile or Link sent to Template Contructor..";
- }
+ throw "No templateFile or Link sent to Template Contructor..";
+
}
}