projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94423df
)
Correctly reading passed application options
author
Darren
<darren@darrenwhitlen.com>
Wed, 10 Oct 2012 17:06:49 +0000
(18:06 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 10 Oct 2012 17:06:49 +0000
(18:06 +0100)
client/dev/model_application.js
patch
|
blob
|
blame
|
history
diff --git
a/client/dev/model_application.js
b/client/dev/model_application.js
index e95b2bde9a0d874ef829998203e43337457c7d01..1f4e0e56e2d681074b08c2eb6e31e54ffdcbadac 100644
(file)
--- a/
client/dev/model_application.js
+++ b/
client/dev/model_application.js
@@
-19,9
+19,13
@@
kiwi.model.Application = function () {
/* Address for the kiwi server */
\r
this.kiwi_server = null;
\r
\r
- this.initialize = function () {
\r
+ this.initialize = function (
options
) {
\r
that = this;
\r
\r
+ if (options[0].container) {
\r
+ this.set('container', options[0].container);
\r
+ }
\r
+
\r
// Best guess at where the kiwi server is
\r
this.detectKiwiServer();
\r
};
\r