mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
@@ -9,10 +9,18 @@
|
||||
* Parse `application/javascript` and `application/x-javascript` HTTP replies as
|
||||
JSON too. #4595
|
||||
|
||||
|
||||
### Meteor Accounts
|
||||
|
||||
* `loginWithPassword` now matches username or email in a case insensitive manner. If there are multiple users with a username or email only differing in case, a case sensitive match is required. #550
|
||||
|
||||
|
||||
### DDP
|
||||
|
||||
* `sub.ready()` should return true inside that subscription's `onReady`
|
||||
callback. #4614
|
||||
|
||||
|
||||
## in progress: v.1.1.1
|
||||
|
||||
### Blaze
|
||||
|
||||
@@ -1382,8 +1382,8 @@ _.extend(Connection.prototype, {
|
||||
// Did we already receive a ready message? (Oops!)
|
||||
if (subRecord.ready)
|
||||
return;
|
||||
subRecord.readyCallback && subRecord.readyCallback();
|
||||
subRecord.ready = true;
|
||||
subRecord.readyCallback && subRecord.readyCallback();
|
||||
subRecord.readyDeps.changed();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -715,8 +715,9 @@ if (Meteor.isClient) {
|
||||
|
||||
testAsyncMulti("livedata - publish multiple cursors", [
|
||||
function (test, expect) {
|
||||
Meteor.subscribe("multiPublish", {normal: 1}, {
|
||||
var sub = Meteor.subscribe("multiPublish", {normal: 1}, {
|
||||
onReady: expect(function () {
|
||||
test.isTrue(sub.ready());
|
||||
test.equal(One.find().count(), 2);
|
||||
test.equal(Two.find().count(), 3);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user