Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Update docs & default config for view
Browse files Browse the repository at this point in the history
  • Loading branch information
mweibel committed Jun 27, 2014
1 parent 0cbee6b commit e9246e9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 3 additions & 1 deletion candy.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion candy.bundle.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions candy.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion candy.min.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Candy.View = (function(self, $) {
* (String) assets - path to assets (res) directory (with trailing slash)
* (Object) messages - limit: clean up message pane when n is reached / remove: remove n messages after limit has been reached
* (Object) crop - crop if longer than defined: message.nickname=15, message.body=1000, roster.nickname=15
* (Bool) enableXHTML - [default: false] enables XHTML messages sending & displaying
*/
_options = {
language: 'en',
Expand All @@ -40,7 +41,8 @@ Candy.View = (function(self, $) {
crop: {
message: { nickname: 15, body: 1000 },
roster: { nickname: 15 }
}
},
enableXHTML: false
},

/** PrivateFunction: _setupTranslation
Expand Down

0 comments on commit e9246e9

Please sign in to comment.