meteorite

    4熱度

    2回答

    流星0.6.5.1從0.6.4(我自定義的私人包被忽略,將無法正常加載)我如何得到它加載,我一直在全國各地尋找 ,這正在成爲令人沮喪。 我似乎無法讓我的包,我曾經有過我的包/文件夾內,並在smart.json補充說: { packages: { "my_package": { "path": "packages/my_package" } }

    3熱度

    1回答

    在這裏工作是我做我的Mac: brew install npm sudo -H npm install -g meteorite 的結果是: $ sudo -H npm install -g meteorite Password: npm http GET https://registry.npmjs.org/meteorite .... > [em

    1熱度

    1回答

    我正在研究一個項目,我想在地圖上顯示標記。 這些標記應該從具有視口約束的服務器發佈。這意味着只發布標記在當前用戶視口內。 出版看起來是這樣的: //server Meteor.publish('posts', function(bottom_left_x, bottom_left_y, upper_right_x, upper_right_y, limit) { return Pos

    0熱度

    1回答

    我得到以下異常拋出: => Meteor server restarted I20130820-00:17:58.852(3)? Exception from setTimeout callback: { stack: [Getter] } MongoError: $or requires nonempty array I20130820-00:17:58.852(3)? at Object

    0熱度

    1回答

    我爲我自己的自定義登錄頁面使用Mesosphere表單包。繼承人的登錄表單: Mesosphere({ name: "loginForm", method: "login", fields: { usernameEmail: { required: true, format: /^[a-zA-Z0-9_]{2,25}$/i,

    0熱度

    1回答

    我有多種形式我想聲明,但它似乎你只能做一次一個: Mesosphere({ name: "signupForm", method: "signup", fields: { username: { required: true }, email: { required: true, for

    29熱度

    3回答

    我有一個參數的簡單路徑: this.route('article', { path: '/article/:_id', data: function() { return Articles.findOne(this.params._id); } }); 我想有使用pathFor車把與_id幫手這裏: {{#each articles}} <li><a hre

    0熱度

    1回答

    我正在使用Meteorite的Mesosphere表單包,並且遇到了onSuccess和onFailure回調問題。 例如,我只是有這樣的: onSuccess: function(formData) { console.log("validation success!"); successCallback(); }, 我得到一個錯誤: Uncaught Referenc

    8熱度

    4回答

    這似乎是一個非常基本的問題,沒有一個優雅的解決方案/答案。 如何從(1)服務器或(2)客戶端訪問客戶端(遠程)IP地址?

    1熱度

    1回答

    有沒有可能有一個路由不呈現任何模板,只是做一些事情? 這功能我要找: this.route({ path: '/something/:info1/:info2', method: function() { // do something with this.params.info1 and this.params.info2 Router.go('els