Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
total.js - web framework for node.js
Conversations
Labels
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
NEW VERSION: v1.3.0
43 views
coffee
version
Skip to first unread message
Peter Širka
unread,
Apr 6, 2014, 11:05:56 AM
4/6/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
v1.3.0
News:
added:
supports CoffeeScript
added: framework.isWindows (readonly, boolean)
added: framework.isCoffee (readonly, boolean)
added: framework.config['directory-source'], great for business logic
added: framework.injectSource(name)
added: framework.source(name), call a business logic
added: new global methods include() and source() are linked into the config['directory-source']
added: config['default-websocket-encodedecode'] - encodeURIComponent && decodeURIComponent (IMPORTANT: default: false)
added: Builders.ErrorBuilder.resource(filename, prefix) - can change resource filename or prefix
added: new global variables - Builders, Mail, Utils
added: Builders.validate(schemaName, model) - returns ErrorBuilder from everywhere (uses framework.resource)
added: allowed controllers in subdirectories
added: utils.assign(obj, path, value/function) - read more in documentation
Updates:
updated: Builders.schema(name, obj, [defaults], [validator]) - validator is new
updated: Builders.validation(name, [arr] or [function])
updated: controller.find(id or function)
updated: utils.copy(source, [target]);
updated: WebSocket.close([id], [message], [code]);
updated: WebSocketClient.close([message], [code]);
Fixes:
fixed: Controller properties on the WebSocket connections
fixed: binary
fixed: utils.validation()
fixed: multipart upload (problem with multiple values)
fixed: layout in partial views (from the controller)
fixed: Windows path
Important:
rewritten: WebSocket + WebSocket supports: text, JSON, binary, ping + pong
New examples:
https://github.com/totaljs/examples/tree/master/angularjs-bootstrap
https://github.com/totaljs/examples/tree/master/bootstrap
https://github.com/totaljs/examples/tree/master/framework-schema-validation
https://github.com/totaljs/examples/tree/master/webrtc
(unfinished but for an idea)
https://github.com/totaljs/examples/tree/master/framework-business-logic-source
https://github.com/totaljs/examples/tree/master/framework-inject-business-logic-source
riccardo...@gmail.com
unread,
Apr 8, 2014, 9:59:08 AM
4/8/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tot...@googlegroups.com
Hello! I found a bug with this version: a "@view" inside a layout raise this error "RangeError: Maximum call stack size exceeded undefined".
Peter Širka
unread,
Apr 8, 2014, 3:03:54 PM
4/8/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tot...@googlegroups.com, riccardo...@gmail.com
Hi riccardo,
I fixed this problem. Many thanks.
I'll publish HOTFIX this week. Current version on GitHub is good.
THANKS!
Reply all
Reply to author
Forward
0 new messages