Node.js 的 MVC 框架,total.js 1.9.1 發布
total.js 是個 web 應用框架,使用 JavaScript,HTML,CSS 和 Node.js(MVC) web 應用框架來構建 web 網站和 web 應用。
新特性
-
added: new sitemap system
</li> -
added: a default schema validator is F.onValidation()
</li> -
added: ErrorBuilder.setContentType() --> default application/json
</li> -
added: View engine supports
</li>else if
-
added: U.parseBoolean(val, [def])
</li> -
added: F.backup(filename, path, [callback], [filter]) --> backup some path to one file
</li> -
added: F.restore(filename, target, [callback], [filter]) --> restore backup file (but not evaluating)
</li> -
added: MailMessage supports custom headers
</li>message.headers = { key: 'value' }
-
added: @{notranslate} --> disables view translation
</li> -
added: F.mode('debug') or F.mode('release') --> changes a mode of the framework
</li> -
added: EACHSCHEMA([group], prepare(group, name, schema))
</li> </ul>更新
-
updated: MailMessage.bcc(email, [clear]) --> added clear
</li> -
updated: MailMessage.cc(email, [clear]) --> added clear
</li> -
updated: MailMessage.reply(email, [clear]) --> added clear
</li> </ul>Bug 修復
-
fixed: uploading files
</li> -
fixed: prevention for mail double callback calling (by Andrea Sessa)
</li> -
fixed: worker messaging
</li> -
fixed: problem with schema parser (by Andrea Sessa)
</li> -
fixed: F.load() --> "versions" is configurable
</li> -
fixed: "raw" receiving of data
</li> -
fixed: U.request(), the problem with default method
</li> -
fixed: F.exists() - problem with URL query string
</li> -
fixed: framework startup path
</li> -
fixed: Date.format()
</li> -
fixed: Assertion Testing
</li> </ul>下載:
- </li>
-
</li>
</ul>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
-
-