More Markdown refactoring - fixed bug with Pagedown not showing on user profile - replaced jQuery occurrences with $.

This commit is contained in:
Robin Ward
2013-03-05 15:39:21 -05:00
parent cf09e200a5
commit 86af49e663
43 changed files with 190 additions and 201 deletions

View File

@ -12,13 +12,13 @@ describe("Discourse.Onebox", function() {
it("Stops rapid calls with cache true", function() {
Discourse.Onebox.load(anchor, true);
Discourse.Onebox.load(anchor, true);
expect(jQuery.ajax.calls.length).toBe(1);
expect($.ajax.calls.length).toBe(1);
});
it("Stops rapid calls with cache false", function() {
Discourse.Onebox.load(anchor, false);
Discourse.Onebox.load(anchor, false);
expect(jQuery.ajax.calls.length).toBe(1);
expect($.ajax.calls.length).toBe(1);
});
});