1
var fb = new Firebase("https://badspelling.firebaseio.com/")
將生成以下交戰控制檯:試驗成功的火力點連接
火力警告:火力地堡錯誤。請確保您拼寫正確的Firebase名稱(https://badspelling.firebaseio.com)
如何以實用方式測試有效的連接?
fb.validConnection(); //error
原因:我重做Getting Started頁面設置Firefight js例子,一旦用戶輸入有效的firebase應用網址。
此https://www.firebase.com/docs/web/guide/offline-capabilities.html#section-connection-state? –