mirror of https://gitee.com/bigwinds/arangodb
jslint
This commit is contained in:
parent
764a92533a
commit
c6225a659e
|
@ -1,5 +1,5 @@
|
||||||
/*jslint indent: 2, nomen: true, maxlen: 100, white: true plusplus: true, browser: true*/
|
/*jslint indent: 2, nomen: true, maxlen: 100, white: true plusplus: true, browser: true*/
|
||||||
/*global describe, beforeEach, afterEach, it, spyOn, expect*/
|
/*global describe, beforeEach, afterEach, it, spyOn, expect, jQuery*/
|
||||||
/*global runs, waitsFor, jasmine, waits*/
|
/*global runs, waitsFor, jasmine, waits*/
|
||||||
/*global $, console, arangoHelper */
|
/*global $, console, arangoHelper */
|
||||||
(function () {
|
(function () {
|
||||||
|
@ -70,19 +70,19 @@
|
||||||
tile1 = new window.CollectionListItemView({
|
tile1 = new window.CollectionListItemView({
|
||||||
model: edgeCol,
|
model: edgeCol,
|
||||||
collectionsView: myView
|
collectionsView: myView
|
||||||
})
|
});
|
||||||
$('#collectionsThumbnailsIn').append(tile1.render().el);
|
$('#collectionsThumbnailsIn').append(tile1.render().el);
|
||||||
|
|
||||||
tile2 = new window.CollectionListItemView({
|
tile2 = new window.CollectionListItemView({
|
||||||
model: docCol,
|
model: docCol,
|
||||||
collectionsView: myView
|
collectionsView: myView
|
||||||
})
|
});
|
||||||
$('#collectionsThumbnailsIn').append(tile2.render().el);
|
$('#collectionsThumbnailsIn').append(tile2.render().el);
|
||||||
|
|
||||||
tile3 = new window.CollectionListItemView({
|
tile3 = new window.CollectionListItemView({
|
||||||
model: sysCol,
|
model: sysCol,
|
||||||
collectionsView: myView
|
collectionsView: myView
|
||||||
})
|
});
|
||||||
$('#collectionsThumbnailsIn').append(tile3.render().el);
|
$('#collectionsThumbnailsIn').append(tile3.render().el);
|
||||||
|
|
||||||
window.modalView = new window.ModalView();
|
window.modalView = new window.ModalView();
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
return {
|
return {
|
||||||
journalSize: 33554432,
|
journalSize: 33554432,
|
||||||
waitForSync: true
|
waitForSync: true
|
||||||
}
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
spyOn(window.modalView, "show");
|
spyOn(window.modalView, "show");
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
return {
|
return {
|
||||||
journalSize: 33554432,
|
journalSize: 33554432,
|
||||||
waitForSync: true
|
waitForSync: true
|
||||||
}
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
spyOn(window.modalView, "show");
|
spyOn(window.modalView, "show");
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*jslint indent: 2, nomen: true, maxlen: 100, white: true plusplus: true, browser: true*/
|
/*jslint indent: 2, nomen: true, maxlen: 100, white: true plusplus: true, browser: true*/
|
||||||
/*global describe, beforeEach, afterEach, it, spyOn, expect*/
|
/*global describe, beforeEach, afterEach, it, spyOn, expect, jQuery, _, jqconsole, $*/
|
||||||
/*global arangoHelper*/
|
/*global arangoHelper*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
it("should execute a command using enter-keypress", function () {
|
it("should execute a command using enter-keypress", function () {
|
||||||
var e = jQuery.Event("keydown");
|
var e = jQuery.Event("keydown");
|
||||||
e.which = 13; // # Some key code value
|
e.which = 13; // # Some key code value
|
||||||
e.keyCode = 13
|
e.keyCode = 13;
|
||||||
$(".jqconsole").trigger(e);
|
$(".jqconsole").trigger(e);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue