本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
anoopmb
/
frappe
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
format.js: if string is undefined, return
version-14
Anand Doshi
11 年之前
父節點
bef7b9740c
當前提交
1bb395559f
共有
1 個檔案被更改
,包括
2 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
frappe/public/js/frappe/format.js
+ 2
- 0
frappe/public/js/frappe/format.js
查看文件
@@ -1,4 +1,6 @@
function format (str, args) {
if(str==undefined) return str;
this.unkeyed_index = 0;
return str.replace(/\{(\w*)\}/g, function(match, key) {
Write
Preview
Loading…
取消
儲存