projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb8e3f
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 24 May 2010 05:59:06 +0000
(13:59 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 24 May 2010 05:59:06 +0000
(13:59 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
60a3452
..
f4fd363
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-275,7
+275,12
@@
XObject.prototype = {
// handle error.
if (pack_m && typeof(this.el[pack_m]) == 'undefined') {
- Seed.print('pack method not available : ' + this.xtype + '.' + pack_m);
+ throw {
+ name: "ArgumentError",
+ message : 'pack method not available : ' + this.xtype + '.' + pack_m
+ }
+
+
return;