History

GSF.Web: Moved common script resources into GSF/Shared/Scripts - marked existing scripts as obsolete.

J. Ritchie Carroll committed 9 years ago

Commit 230686d1 parent 6d6e24d19 files · +1921 −40Browse files

Showing the changes to Source/Libraries/GSF.Web/Model/Scripts/pagedViewModel.js (1 of 19 files). Show all

Unified · Split

Source/Libraries/GSF.Web/Model/Scripts/pagedViewModel.js+16−0
@@ -25,6 +25,22 @@ · 24 unmodified lines
25// Paged view model base class scripts25// Paged view model base class scripts
26"use strict";26"use strict";
27 27
28if (typeof jQuery === "undefined") {
29 throw new Error("pageViewModel script requires jQuery - make sure jquery.js is loaded first");
30}
31
32if (typeof Cookies.get === "undefined") {
33 throw new Error("pageViewModel script requires js.cookie - make sure js.cookie.js is loaded first");
34}
35
36if (typeof ko === "undefined") {
37 throw new Error("pageViewModel script requires knockout - make sure knockout.js is loaded first");
38}
39
40if (typeof Dictionary === "undefined") {
41 throw new Error("pageViewModel script requires gsf.web.client - make sure gsf.web.client.js is loaded first");
42}
43
28var RecordMode = {44var RecordMode = {
29 View: 0,45 View: 0,
30 Edit: 1,46 Edit: 1,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t