From 504a9cb106e4319e50e2a3b2ae378b4896caf7cc Mon Sep 17 00:00:00 2001 From: cesine Date: Thu, 16 Jul 2020 20:45:43 -0400 Subject: [PATCH 1/5] test node 12 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4706e58..9e76a37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: node_js node_js: - - 8.9.1 + - 12 before_install: - export TZ=Canada/Eastern From 7169d37d538539e3d8c3e97ae91bd93016729529 Mon Sep 17 00:00:00 2001 From: cesine Date: Thu, 16 Jul 2020 20:57:47 -0400 Subject: [PATCH 2/5] node 12 fails so try node 8 again --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 9e76a37..ef0bbd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: node_js node_js: + - 8.9.1 - 12 before_install: From 34fefa8216a9f16d0d85eb92a600be8990f69f10 Mon Sep 17 00:00:00 2001 From: cesine Date: Fri, 17 Jul 2020 16:07:46 -0400 Subject: [PATCH 3/5] also check node 10 to find which version of node might have been the start of the issue --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index ef0bbd0..d43939b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: node_js node_js: - 8.9.1 + - 10 - 12 before_install: From cfcbe6739fc5a95e4f61163bcdb2096df7838f42 Mon Sep 17 00:00:00 2001 From: cesine Date: Mon, 20 Jul 2020 15:14:10 -0400 Subject: [PATCH 4/5] eco is archived we are no longer able to build after node 10 --- .tmp/scripts/templates/active-server.js | 72 +++++ .tmp/scripts/templates/add-user.js | 44 +++ .tmp/scripts/templates/alert-dialog.js | 44 +++ .tmp/scripts/templates/app.js | 44 +++ .../templates/application-settings-edit.js | 119 +++++++ .../templates/application-settings-header.js | 109 +++++++ .../templates/application-settings-view.js | 68 ++++ .../scripts/templates/application-settings.js | 104 ++++++ .tmp/scripts/templates/basepage.js | 48 +++ .tmp/scripts/templates/button-control.js | 72 +++++ .../templates/collection-contents-input.js | 74 +++++ .../templates/comment-representation.js | 76 +++++ .tmp/scripts/templates/controls.js | 56 ++++ .tmp/scripts/templates/corpora.js | 44 +++ .tmp/scripts/templates/corpus.js | 66 ++++ .tmp/scripts/templates/create-corpus.js | 44 +++ .tmp/scripts/templates/csv-import-header.js | 82 +++++ .tmp/scripts/templates/csv-import-row.js | 80 +++++ .tmp/scripts/templates/csv-import.js | 78 +++++ .tmp/scripts/templates/date-input.js | 60 ++++ .tmp/scripts/templates/div-input.js | 48 +++ .tmp/scripts/templates/edit-corpus.js | 52 +++ .tmp/scripts/templates/exporter-dialog.js | 44 +++ .tmp/scripts/templates/exporter.js | 58 ++++ .tmp/scripts/templates/field-display.js | 52 +++ .../templates/field-suggestible-warnings.js | 56 ++++ .tmp/scripts/templates/field-suggestible.js | 56 ++++ .tmp/scripts/templates/field.js | 52 +++ .../templates/file-data-upload-input.js | 52 +++ .tmp/scripts/templates/file-data.js | 152 +++++++++ .tmp/scripts/templates/filter-expression.js | 184 +++++++++++ .../templates/form-add-widget-backup.js | 257 +++++++++++++++ .tmp/scripts/templates/form-add-widget.js | 78 +++++ .tmp/scripts/templates/form-add.js | 82 +++++ .tmp/scripts/templates/form.js | 70 ++++ .tmp/scripts/templates/forms-search.js | 44 +++ .tmp/scripts/templates/forms.js | 44 +++ .../templates/generate-and-compile-control.js | 44 +++ .../templates/get-probabilities-control.js | 72 +++++ .../grammaticality-value-representation.js | 60 ++++ .tmp/scripts/templates/help-dialog.js | 44 +++ .tmp/scripts/templates/home.js | 64 ++++ .../templates/html-snippet-representation.js | 52 +++ .tmp/scripts/templates/importer-dialog.js | 58 ++++ .../scripts/templates/input-textarea-input.js | 76 +++++ .tmp/scripts/templates/keyboard-input.js | 298 ++++++++++++++++++ .tmp/scripts/templates/label.js | 56 ++++ .tmp/scripts/templates/login-dialog.js | 44 +++ .tmp/scripts/templates/mainmenu.js | 48 +++ .../modified-by-user-representation.js | 68 ++++ .../templates/multi-element-tag-input.js | 64 ++++ .tmp/scripts/templates/multiselect-input.js | 98 ++++++ .tmp/scripts/templates/notification.js | 52 +++ .tmp/scripts/templates/notifier.js | 44 +++ .tmp/scripts/templates/page.js | 60 ++++ .../templates/pagination-item-table.js | 52 +++ .tmp/scripts/templates/pagination-menu-top.js | 64 ++++ .tmp/scripts/templates/parse-control.js | 44 +++ .tmp/scripts/templates/password-input.js | 74 +++++ .tmp/scripts/templates/progress-widget.js | 44 +++ .tmp/scripts/templates/register-dialog.js | 44 +++ .../templates/related-model-representation.js | 60 ++++ .../related-resource-representation.js | 60 ++++ .tmp/scripts/templates/resource-add-widget.js | 110 +++++++ .tmp/scripts/templates/resource-as-row.js | 76 +++++ .../templates/resource-displayer-dialog.js | 44 +++ .../resource-select-via-search-input.js | 72 +++++ .tmp/scripts/templates/resource.js | 196 ++++++++++++ .../templates/resources-displayer-dialog.js | 44 +++ .tmp/scripts/templates/resources.js | 104 ++++++ .tmp/scripts/templates/script-input.js | 74 +++++ .../templates/script-representation.js | 52 +++ .tmp/scripts/templates/search-widget.js | 70 ++++ .../templates/select-input-with-button.js | 98 ++++++ .tmp/scripts/templates/select-input.js | 86 +++++ .../templates/select-textarea-button-input.js | 108 +++++++ .../templates/select-textarea-input.js | 108 +++++++ .../templates/selected-resource-wrapper.js | 48 +++ .tmp/scripts/templates/server.js | 126 ++++++++ .tmp/scripts/templates/servers.js | 50 +++ .tmp/scripts/templates/settings.js | 129 ++++++++ .tmp/scripts/templates/smart-query-preview.js | 66 ++++ .tmp/scripts/templates/subcorpora.js | 44 +++ .../scripts/templates/subcorpus-add-widget.js | 78 +++++ .tmp/scripts/templates/subcorpus.js | 70 ++++ .tmp/scripts/templates/task.js | 64 ++++ .tmp/scripts/templates/tasks-dialog.js | 44 +++ .../templates/textarea-button-control.js | 68 ++++ .../templates/textarea-button-input.js | 72 +++++ .tmp/scripts/templates/textarea-control.js | 66 ++++ .tmp/scripts/templates/textarea-field.js | 60 ++++ .tmp/scripts/templates/textarea-input.js | 74 +++++ .tmp/scripts/templates/top-label.js | 56 ++++ .../templates/translation-representation.js | 60 ++++ .tmp/scripts/templates/user.js | 52 +++ .../scripts/templates/value-representation.js | 52 +++ 96 files changed, 7030 insertions(+) create mode 100644 .tmp/scripts/templates/active-server.js create mode 100644 .tmp/scripts/templates/add-user.js create mode 100644 .tmp/scripts/templates/alert-dialog.js create mode 100644 .tmp/scripts/templates/app.js create mode 100644 .tmp/scripts/templates/application-settings-edit.js create mode 100644 .tmp/scripts/templates/application-settings-header.js create mode 100644 .tmp/scripts/templates/application-settings-view.js create mode 100644 .tmp/scripts/templates/application-settings.js create mode 100644 .tmp/scripts/templates/basepage.js create mode 100644 .tmp/scripts/templates/button-control.js create mode 100644 .tmp/scripts/templates/collection-contents-input.js create mode 100644 .tmp/scripts/templates/comment-representation.js create mode 100644 .tmp/scripts/templates/controls.js create mode 100644 .tmp/scripts/templates/corpora.js create mode 100644 .tmp/scripts/templates/corpus.js create mode 100644 .tmp/scripts/templates/create-corpus.js create mode 100644 .tmp/scripts/templates/csv-import-header.js create mode 100644 .tmp/scripts/templates/csv-import-row.js create mode 100644 .tmp/scripts/templates/csv-import.js create mode 100644 .tmp/scripts/templates/date-input.js create mode 100644 .tmp/scripts/templates/div-input.js create mode 100644 .tmp/scripts/templates/edit-corpus.js create mode 100644 .tmp/scripts/templates/exporter-dialog.js create mode 100644 .tmp/scripts/templates/exporter.js create mode 100644 .tmp/scripts/templates/field-display.js create mode 100644 .tmp/scripts/templates/field-suggestible-warnings.js create mode 100644 .tmp/scripts/templates/field-suggestible.js create mode 100644 .tmp/scripts/templates/field.js create mode 100644 .tmp/scripts/templates/file-data-upload-input.js create mode 100644 .tmp/scripts/templates/file-data.js create mode 100644 .tmp/scripts/templates/filter-expression.js create mode 100644 .tmp/scripts/templates/form-add-widget-backup.js create mode 100644 .tmp/scripts/templates/form-add-widget.js create mode 100644 .tmp/scripts/templates/form-add.js create mode 100644 .tmp/scripts/templates/form.js create mode 100644 .tmp/scripts/templates/forms-search.js create mode 100644 .tmp/scripts/templates/forms.js create mode 100644 .tmp/scripts/templates/generate-and-compile-control.js create mode 100644 .tmp/scripts/templates/get-probabilities-control.js create mode 100644 .tmp/scripts/templates/grammaticality-value-representation.js create mode 100644 .tmp/scripts/templates/help-dialog.js create mode 100644 .tmp/scripts/templates/home.js create mode 100644 .tmp/scripts/templates/html-snippet-representation.js create mode 100644 .tmp/scripts/templates/importer-dialog.js create mode 100644 .tmp/scripts/templates/input-textarea-input.js create mode 100644 .tmp/scripts/templates/keyboard-input.js create mode 100644 .tmp/scripts/templates/label.js create mode 100644 .tmp/scripts/templates/login-dialog.js create mode 100644 .tmp/scripts/templates/mainmenu.js create mode 100644 .tmp/scripts/templates/modified-by-user-representation.js create mode 100644 .tmp/scripts/templates/multi-element-tag-input.js create mode 100644 .tmp/scripts/templates/multiselect-input.js create mode 100644 .tmp/scripts/templates/notification.js create mode 100644 .tmp/scripts/templates/notifier.js create mode 100644 .tmp/scripts/templates/page.js create mode 100644 .tmp/scripts/templates/pagination-item-table.js create mode 100644 .tmp/scripts/templates/pagination-menu-top.js create mode 100644 .tmp/scripts/templates/parse-control.js create mode 100644 .tmp/scripts/templates/password-input.js create mode 100644 .tmp/scripts/templates/progress-widget.js create mode 100644 .tmp/scripts/templates/register-dialog.js create mode 100644 .tmp/scripts/templates/related-model-representation.js create mode 100644 .tmp/scripts/templates/related-resource-representation.js create mode 100644 .tmp/scripts/templates/resource-add-widget.js create mode 100644 .tmp/scripts/templates/resource-as-row.js create mode 100644 .tmp/scripts/templates/resource-displayer-dialog.js create mode 100644 .tmp/scripts/templates/resource-select-via-search-input.js create mode 100644 .tmp/scripts/templates/resource.js create mode 100644 .tmp/scripts/templates/resources-displayer-dialog.js create mode 100644 .tmp/scripts/templates/resources.js create mode 100644 .tmp/scripts/templates/script-input.js create mode 100644 .tmp/scripts/templates/script-representation.js create mode 100644 .tmp/scripts/templates/search-widget.js create mode 100644 .tmp/scripts/templates/select-input-with-button.js create mode 100644 .tmp/scripts/templates/select-input.js create mode 100644 .tmp/scripts/templates/select-textarea-button-input.js create mode 100644 .tmp/scripts/templates/select-textarea-input.js create mode 100644 .tmp/scripts/templates/selected-resource-wrapper.js create mode 100644 .tmp/scripts/templates/server.js create mode 100644 .tmp/scripts/templates/servers.js create mode 100644 .tmp/scripts/templates/settings.js create mode 100644 .tmp/scripts/templates/smart-query-preview.js create mode 100644 .tmp/scripts/templates/subcorpora.js create mode 100644 .tmp/scripts/templates/subcorpus-add-widget.js create mode 100644 .tmp/scripts/templates/subcorpus.js create mode 100644 .tmp/scripts/templates/task.js create mode 100644 .tmp/scripts/templates/tasks-dialog.js create mode 100644 .tmp/scripts/templates/textarea-button-control.js create mode 100644 .tmp/scripts/templates/textarea-button-input.js create mode 100644 .tmp/scripts/templates/textarea-control.js create mode 100644 .tmp/scripts/templates/textarea-field.js create mode 100644 .tmp/scripts/templates/textarea-input.js create mode 100644 .tmp/scripts/templates/top-label.js create mode 100644 .tmp/scripts/templates/translation-representation.js create mode 100644 .tmp/scripts/templates/user.js create mode 100644 .tmp/scripts/templates/value-representation.js diff --git a/.tmp/scripts/templates/active-server.js b/.tmp/scripts/templates/active-server.js new file mode 100644 index 0000000..edcf65c --- /dev/null +++ b/.tmp/scripts/templates/active-server.js @@ -0,0 +1,72 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var i, len, ref, server; + + _print(_safe('\n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/add-user.js b/.tmp/scripts/templates/add-user.js new file mode 100644 index 0000000..1b01b74 --- /dev/null +++ b/.tmp/scripts/templates/add-user.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
\n\n
Grant a user access to this\n corpus
\n\n
\n\n
\n\n
    \n\n
  • \n \n \n
    \n \n
    \n
  • \n\n
  • \n \n \n
    \n \n
    \n
  • \n\n
  • \n \n \n
  • \n\n
\n\n
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/alert-dialog.js b/.tmp/scripts/templates/alert-dialog.js new file mode 100644 index 0000000..c9b5bdf --- /dev/null +++ b/.tmp/scripts/templates/alert-dialog.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
\n\n
\n Hello from the alert dialog!\n
\n\n \n\n
\n\n
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/app.js b/.tmp/scripts/templates/app.js new file mode 100644 index 0000000..acf6b38 --- /dev/null +++ b/.tmp/scripts/templates/app.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/application-settings-edit.js b/.tmp/scripts/templates/application-settings-edit.js new file mode 100644 index 0000000..e6ff2ce --- /dev/null +++ b/.tmp/scripts/templates/application-settings-edit.js @@ -0,0 +1,119 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var activeServer, corpus, i, j, k, len, len1, len2, ref, ref1, ref2, s, server; + + _print(_safe('
\n
    \n\n ')); + + activeServer = ((function() { + var i, len, ref, results; + ref = this.servers; + results = []; + for (i = 0, len = ref.length; i < len; i++) { + s = ref[i]; + if (s.url === this.activeServer) { + results.push(s); + } + } + return results; + }).call(this))[0]; + + _print(_safe('\n\n
  • \n \n \n
  • \n\n
  • \n \n \n
  • \n\n \n\n
\n\n
\n\n
\n\n
Servers
\n\n \n \n \n\n
\n\n
\n\n
\n\n
    \n\n
  • \n ')); + + ref2 = this.servers; + for (k = 0, len2 = ref2.length; k < len2; k++) { + server = ref2[k]; + _print(_safe('\n
      \n
    • \n \n \n
    • \n
    • \n \n \n
    • \n
    • \n \n \n
    • \n
    \n ')); + } + + _print(_safe('\n
  • \n
\n
\n
\n\n
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/application-settings-header.js b/.tmp/scripts/templates/application-settings-header.js new file mode 100644 index 0000000..3323f72 --- /dev/null +++ b/.tmp/scripts/templates/application-settings-header.js @@ -0,0 +1,109 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var activeServer, corpus, i, j, len, len1, ref, ref1, s, server; + + _print(_safe('
\n
')); + + _print(this.headerTitle); + + _print(_safe('
\n
\n
\n
\n
\n\n\n\n
\n
    \n\n ')); + + activeServer = ((function() { + var i, len, ref, results; + ref = this.servers; + results = []; + for (i = 0, len = ref.length; i < len; i++) { + s = ref[i]; + if (s.url === this.activeServer) { + results.push(s); + } + } + return results; + }).call(this))[0]; + + _print(_safe('\n\n
  • \n \n \n
  • \n\n
  • \n \n \n
  • \n\n \n\n
\n\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/application-settings-view.js b/.tmp/scripts/templates/application-settings-view.js new file mode 100644 index 0000000..41d01bc --- /dev/null +++ b/.tmp/scripts/templates/application-settings-view.js @@ -0,0 +1,68 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
\n
    \n\n
  • \n \n
    ')); + + _print(this.serverType); + + _print(_safe('
    \n
  • \n\n
  • \n \n
    ')); + + _print(this.corpus || 'no corpus selected'); + + _print(_safe('
    \n
  • \n\n
  • \n \n
    ')); + + _print(this.serverURL); + + _print(_safe('
    \n
  • \n\n
  • \n \n
    ')); + + _print(this.serverPort); + + _print(_safe('
    \n
  • \n\n
  • \n \n
    ')); + + _print(this.loggedIn); + + _print(_safe('
    \n
  • \n\n
  • \n \n
    ')); + + _print(this.username); + + _print(_safe('
    \n
  • \n\n
  • \n \n
  • \n\n
\n
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/application-settings.js b/.tmp/scripts/templates/application-settings.js new file mode 100644 index 0000000..f8cb34f --- /dev/null +++ b/.tmp/scripts/templates/application-settings.js @@ -0,0 +1,104 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var i, j, len, len1, ref, ref1, ref2, ref3, themeName, themeNameHumanReadable; + + _print(_safe('
\n\n
\n \n
\n\n
')); + + _print(this.headerTitle); + + _print(_safe('
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
Servers
\n
\n \n
\n
\n\n ')); + + if (this.loggedIn === true) { + _print(_safe('\n\n
Server Settings
\n
\n \n \n
\n
\n\n
Input Validation
\n
\n \n \n
\n
\n\n
Keyboard Preferences
\n
\n \n
\n
\n\n ')); + } + + _print(_safe('\n\n
Appearance
\n
\n \n
\n
\n\n
\n\n
\n\n
\n
\n
\n
\n\n
\n\n ')); + + ref = this.jQueryUIThemes; + for (i = 0, len = ref.length; i < len; i++) { + ref1 = ref[i], themeName = ref1[0], themeNameHumanReadable = ref1[1]; + _print(_safe('\n ')); + if (themeName === this.activeJQueryUITheme) { + _print(_safe('\n
\n ')); + } else { + _print(_safe('\n
\n ')); + } + _print(_safe('\n
')); + _print(themeNameHumanReadable); + _print(_safe('
\n \n
\n ')); + } + + _print(_safe('\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/basepage.js b/.tmp/scripts/templates/basepage.js new file mode 100644 index 0000000..825bd63 --- /dev/null +++ b/.tmp/scripts/templates/basepage.js @@ -0,0 +1,48 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
\n
')); + + _print(this.headerTitle); + + _print(_safe('
\n
\n
\n
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/button-control.js b/.tmp/scripts/templates/button-control.js new file mode 100644 index 0000000..676e527 --- /dev/null +++ b/.tmp/scripts/templates/button-control.js @@ -0,0 +1,72 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('')); + + _print(_safe(this.buttonText)); + + _print(_safe('\n
')); + + _print(_safe(this.controlSummary)); + + _print(_safe('
\n
')); + + _print(this.controlResults); + + _print(_safe('
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/collection-contents-input.js b/.tmp/scripts/templates/collection-contents-input.js new file mode 100644 index 0000000..af71d7d --- /dev/null +++ b/.tmp/scripts/templates/collection-contents-input.js @@ -0,0 +1,74 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var attribute, ref, value; + + _print(_safe('
\n\n
\n\n \n\n \n\n
\n\n ')); + + _print(this.value); + + _print(_safe('\n\n \n\n
\n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/comment-representation.js b/.tmp/scripts/templates/comment-representation.js new file mode 100644 index 0000000..49a9e7e --- /dev/null +++ b/.tmp/scripts/templates/comment-representation.js @@ -0,0 +1,76 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('')); + + _print(this.textValue); + + _print(_safe('\n (By\n ')); + + _print(this.usernameValue); + + _print(_safe('\n ')); + + _print(this.timeSince(this.timestampValue)); + + _print(_safe(')
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/controls.js b/.tmp/scripts/templates/controls.js new file mode 100644 index 0000000..67b8fb4 --- /dev/null +++ b/.tmp/scripts/templates/controls.js @@ -0,0 +1,56 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
\n\n
')); + + _print(this.headerTitle); + + _print(_safe('
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/corpora.js b/.tmp/scripts/templates/corpora.js new file mode 100644 index 0000000..001e177 --- /dev/null +++ b/.tmp/scripts/templates/corpora.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
\n\n
Corpora
\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n
\n\n
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/corpus.js b/.tmp/scripts/templates/corpus.js new file mode 100644 index 0000000..6f1f2bb --- /dev/null +++ b/.tmp/scripts/templates/corpus.js @@ -0,0 +1,66 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var activeIndicator; + + _print(_safe('\n
\n\n ')); + + activeIndicator = this.isActive ? '(active)' : ''; + + _print(_safe('\n
\n ')); + + _print(this.title); + + _print(_safe('\n ')); + + _print(activeIndicator); + + _print(_safe('\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n ')); + + if (this.isActive) { + _print(_safe('\n
\n ')); + } else { + _print(_safe('\n
\n ')); + } + + _print(_safe('\n\n
\n\n
\n\n
\n\n
\n
Admins
\n
\n\n
\n There are no admins for this corpus.\n
\n
\n\n
\n
\n
Writers
\n
\n
\n There are no writers for this corpus.\n
\n
\n\n
\n
\n
Readers
\n
\n
\n There are no readers for this corpus.\n
\n
\n\n
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/create-corpus.js b/.tmp/scripts/templates/create-corpus.js new file mode 100644 index 0000000..0bfca4d --- /dev/null +++ b/.tmp/scripts/templates/create-corpus.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
\n\n
Create a new corpus
\n\n
\n\n
\n\n
    \n\n
  • \n \n \n
    \n \n
    \n
  • \n\n
  • \n \n \n \n \n
  • \n\n
\n\n
\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/csv-import-header.js b/.tmp/scripts/templates/csv-import-header.js new file mode 100644 index 0000000..2fb6eff --- /dev/null +++ b/.tmp/scripts/templates/csv-import-header.js @@ -0,0 +1,82 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var formAttribute, i, j, label, len, len1, ref, ref1; + + _print(_safe('
\n\n
\n\n \n\n \n\n
\n\n')); + + ref = this.columnLabels; + for (i = 0, len = ref.length; i < len; i++) { + label = ref[i]; + _print(_safe('\n\n
\n\n \n \n ')); + ref1 = this.sortedFormAttributes; + for (j = 0, len1 = ref1.length; j < len1; j++) { + formAttribute = ref1[j]; + _print(_safe('\n ')); + if (formAttribute === label) { + _print(_safe('\n \n ')); + } else { + _print(_safe('\n \n ')); + } + _print(_safe('\n ')); + } + _print(_safe('\n \n\n ')); + if (label) { + _print(_safe('\n \n ')); + } else { + _print(_safe('\n \n ')); + } + _print(_safe('\n\n
\n\n')); + } + + _print(_safe('\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/csv-import-row.js b/.tmp/scripts/templates/csv-import-row.js new file mode 100644 index 0000000..2ee9159 --- /dev/null +++ b/.tmp/scripts/templates/csv-import-row.js @@ -0,0 +1,80 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var i, index, len, ref, value; + + _print(_safe('\n\n
\n
\n ')); + + _print(this.rowIndex + 1); + + _print(_safe('\n
\n\n
\n\n ')); + + if (this.selected) { + _print(_safe('\n \n ')); + } else { + _print(_safe('\n \n ')); + } + + _print(_safe('\n\n \n\n \n\n ')); + + if (this.valid === null) { + _print(_safe('\n \n ')); + } else if (this.valid === true) { + _print(_safe('\n \n ')); + } else if (this.valid === false) { + _print(_safe('\n \n ')); + } + + _print(_safe('\n\n
\n\n ')); + + ref = this.line; + for (index = i = 0, len = ref.length; i < len; index = ++i) { + value = ref[index]; + _print(_safe('\n
')); + _print(value); + _print(_safe('
\n ')); + } + + _print(_safe('\n\n
\n\n
\n
    \n
    \n\n
    \n
      \n
      \n\n
      \n\n
      \n\n
      \n\n
      \n\n
    • \n
      \n \n Warning: \n
      \n \n
    • \n\n
    • \n
      \n \n Error: \n
      \n \n
    • \n\n
      \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/csv-import.js b/.tmp/scripts/templates/csv-import.js new file mode 100644 index 0000000..5af03b9 --- /dev/null +++ b/.tmp/scripts/templates/csv-import.js @@ -0,0 +1,78 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var data, ref, type; + + _print(_safe('
      \n\n
      Import Forms
      \n\n
      \n\n \n\n
      \n\n
      \n\n \n\n \n\n
      \n\n
      \n\n\n
      \n\n
      \n\n
      \n\n
        \n\n
      • \n
        \n
        \n
        \n Choose file\n \n \n \n
        \n
      \n \n\n \n
    • \n \n
    • \n \n \n ')); + + ref = this.importTypes; + for (type in ref) { + data = ref[type]; + _print(_safe('\n \n ')); + } + + _print(_safe('\n
      \n \n\n \n\n
      \n\n
      \n
      \n\n Import Selected\n\n Stop Importing\n\n Preview Selected\n\n Validate Selected\n\n Options ...\n\n
      \n\n
      \n\n
        \n\n
      • \n ')); + + if (this.parseTranslations) { + _print(_safe('\n \n ')); + } else { + _print(_safe('\n \n ')); + } + + _print(_safe('\n parse translations
      • \n\n
      • \n ')); + + if (this.identifyTranslationCompatibilities) { + _print(_safe('\n \n ')); + } else { + _print(_safe('\n \n ')); + } + + _print(_safe('\n identify compatibility prefixes in translations
      • \n\n
      • \n \n translation delimiter
      • \n\n
      \n\n
      \n\n
      \n\n
      \n \n 0 successful imports\n
      \n\n
      \n \n 0 failed imports\n
      \n\n
      \n \n 0 aborted imports\n
      \n\n
      \n\n\n
      \n\n

      Errors

      \n\n \n\n

      No Errors

      \n\n
      \n
        \n
        \n
        \n\n
        \n\n

        Warnings\n

        \n\n \n\n \n\n

        No Warnings

        \n\n
        \n
          \n
          \n
          \n\n
          \n
          \n
          \n
          \n
          \n
          \n
          \n\n
          \n\n\n
          \n\n
        • \n
          \n \n Warning: \n
          \n \n
        • \n\n
        • \n
          \n \n Error: \n
          \n \n
        • \n\n
          \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/date-input.js b/.tmp/scripts/templates/date-input.js new file mode 100644 index 0000000..8260054 --- /dev/null +++ b/.tmp/scripts/templates/date-input.js @@ -0,0 +1,60 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/div-input.js b/.tmp/scripts/templates/div-input.js new file mode 100644 index 0000000..fc6dc95 --- /dev/null +++ b/.tmp/scripts/templates/div-input.js @@ -0,0 +1,48 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
          \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/edit-corpus.js b/.tmp/scripts/templates/edit-corpus.js new file mode 100644 index 0000000..033e47b --- /dev/null +++ b/.tmp/scripts/templates/edit-corpus.js @@ -0,0 +1,52 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
          \n\n
          Edit the details of this\n corpus
          \n\n
          \n\n
          \n\n
            \n\n
          • \n \n \n
            \n \n
            \n
          • \n\n
          • \n \n \n
            \n \n
            \n
          • \n\n
          • \n \n \n
          • \n\n

            WARNing: Corpus metadata update currently\n deactivated in Dative.

            \n\n
          \n\n
          \n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/exporter-dialog.js b/.tmp/scripts/templates/exporter-dialog.js new file mode 100644 index 0000000..4562cfd --- /dev/null +++ b/.tmp/scripts/templates/exporter-dialog.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
          \n
          \n\n
          \n\n
          \n\n
          \n
          \n\n
          \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/exporter.js b/.tmp/scripts/templates/exporter.js new file mode 100644 index 0000000..2c9a98a --- /dev/null +++ b/.tmp/scripts/templates/exporter.js @@ -0,0 +1,58 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
          \n\n
          \n\n
          \n

          ')); + + _print(this.title); + + _print(_safe('

          \n
          ')); + + _print(_safe(this.description)); + + _print(_safe('
          \n
          \n\n
          \n ')); + + if (this.hasSettings) { + _print(_safe('\n \n ')); + } + + _print(_safe('\n \n
          \n\n
          \n\n
          \n\n
          \n\n
          \n
          \n
          \n\n
          \n\n
          \n\n
          \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/field-display.js b/.tmp/scripts/templates/field-display.js new file mode 100644 index 0000000..43434c6 --- /dev/null +++ b/.tmp/scripts/templates/field-display.js @@ -0,0 +1,52 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
          \n
          \n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/field-suggestible-warnings.js b/.tmp/scripts/templates/field-suggestible-warnings.js new file mode 100644 index 0000000..76b02fc --- /dev/null +++ b/.tmp/scripts/templates/field-suggestible-warnings.js @@ -0,0 +1,56 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
          \n \n
          \n
          \n
          \n
          \n
          \n
          \n
          \n
          \n
          \n
          \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/field-suggestible.js b/.tmp/scripts/templates/field-suggestible.js new file mode 100644 index 0000000..bc1c56b --- /dev/null +++ b/.tmp/scripts/templates/field-suggestible.js @@ -0,0 +1,56 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
          \n \n
          \n
          \n
          \n
          \n
          \n
          \n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/field.js b/.tmp/scripts/templates/field.js new file mode 100644 index 0000000..4aa7b5f --- /dev/null +++ b/.tmp/scripts/templates/field.js @@ -0,0 +1,52 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
          \n
          \n
          \n
          \n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/file-data-upload-input.js b/.tmp/scripts/templates/file-data-upload-input.js new file mode 100644 index 0000000..b490a99 --- /dev/null +++ b/.tmp/scripts/templates/file-data-upload-input.js @@ -0,0 +1,52 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('Choose file\n\n
          \n
          Uploading file data ...
          \n
          \n
          \n\n\n\n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/file-data.js b/.tmp/scripts/templates/file-data.js new file mode 100644 index 0000000..54be6bb --- /dev/null +++ b/.tmp/scripts/templates/file-data.js @@ -0,0 +1,152 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var object, ref, verb; + + _print(_safe('
          \n\n ')); + + if (this.parentFile) { + _print(_safe('\n
          ')); + _print(this.headerTitle); + _print(_safe('
          \n ')); + } else { + _print(_safe('\n
          ')); + _print(this.headerTitle); + _print(_safe('
          \n ')); + } + + _print(_safe('\n\n
          \n\n ')); + + if (this.parentFile) { + _print(_safe('\n \n ')); + } else { + _print(_safe('\n \n ')); + } + + _print(_safe('\n\n
          \n\n
          \n\n \n\n ')); + + if (this.parentFile) { + _print(_safe('\n\n 0s\n\n \n\n \n\n ')); + } else { + _print(_safe('\n\n ')); + if (this.undownloadable) { + _print(_safe('\n \n \n \n ')); + } else { + _print(_safe('\n \n \n \n ')); + } + _print(_safe('\n\n \n\n ')); + } + + _print(_safe('\n\n
          \n\n
          \n\n
          \n\n ')); + + if (this.MIMEType === 'application/pdf') { + _print(_safe('\n ')); + _print(this.name); + _print(_safe('\n ')); + } else if (this.type === 'audio') { + _print(_safe('\n \n ')); + } else if (this.type === 'video' && this.canPlayVideo) { + _print(_safe('\n \n ')); + } else if (this.type === 'image') { + _print(_safe('\n \n ')); + } else if (this.embedCode) { + _print(_safe('\n ')); + _print(_safe(this.embedCode)); + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + object = this.name ? "the file " + this.name : "this file"; + _print(_safe('\n ')); + verb = (ref = this.type) === 'audio' || ref === 'video' ? 'play' : 'display'; + _print(_safe('\n
          Sorry, ')); + _print(object); + _print(_safe(' cannot be\n ')); + _print(verb); + _print(_safe('ed.
          \n ')); + } + + _print(_safe('\n\n
          \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/filter-expression.js b/.tmp/scripts/templates/filter-expression.js new file mode 100644 index 0000000..acf49e4 --- /dev/null +++ b/.tmp/scripts/templates/filter-expression.js @@ -0,0 +1,184 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var attribute, buttonText, i, j, k, len, len1, len2, myAttribute, myModel, myRelation, mySubattribute, myValue, operandClass, ref, ref1, ref2, ref3, ref4, ref5, ref6, relation; + + _print(_safe('\n \n\n ')); + + if ((ref = this.filterExpression[0]) === 'and' || ref === 'or' || ref === 'not') { + _print(_safe('\n ')); + buttonText = this.filterExpression[0]; + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + buttonText = ''; + _print(_safe('\n ')); + } + + _print(_safe('\n\n \n\n \n\n \n
          \n
          \n \n\n
          \n
          \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
          \n
          \n
          \n
          \n ')); + + if ((ref1 = this.filterExpression[0]) === 'and' || ref1 === 'or') { + _print(_safe('\n ')); + operandClass = 'filter-expression-operand filter-expression-operand-array'; + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + operandClass = 'filter-expression-operand'; + _print(_safe('\n ')); + } + + _print(_safe('\n\n
          \n\n ')); + + if (this.filterExpression.length > 3) { + _print(_safe('\n\n ')); + if (this.filterExpression.length === 5) { + _print(_safe('\n ')); + ref2 = this.filterExpression, myModel = ref2[0], myAttribute = ref2[1], mySubattribute = ref2[2], myRelation = ref2[3], myValue = ref2[4]; + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + ref3 = this.filterExpression, myModel = ref3[0], myAttribute = ref3[1], myRelation = ref3[2], myValue = ref3[3]; + _print(_safe('\n ')); + if (myValue === null) { + _print(_safe('\n ')); + if (myRelation === '=') { + _print(_safe('\n ')); + myRelation = 'is null'; + _print(_safe('\n ')); + } else if (myRelation === '!=') { + _print(_safe('\n ')); + myRelation = 'is not null'; + _print(_safe('\n ')); + } + _print(_safe('\n ')); + } + _print(_safe('\n ')); + } + _print(_safe('\n\n \n\n ')); + if (this.filterExpression.length === 5) { + _print(_safe('\n \n ')); + } + _print(_safe('\n ')); + if (this.filterExpression.length === 5) { + _print(_safe('\n ')); + ref5 = this.subattributes[myAttribute].sort() || []; + for (j = 0, len1 = ref5.length; j < len1; j++) { + attribute = ref5[j]; + _print(_safe('\n ')); + if (attribute === mySubattribute) { + _print(_safe('\n \n ')); + } else { + _print(_safe('\n \n ')); + } + _print(_safe('\n ')); + } + _print(_safe('\n ')); + } + _print(_safe('\n \n\n \n\n \n ')); + } + + _print(_safe('\n\n
          \n\n
          \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/form-add-widget-backup.js b/.tmp/scripts/templates/form-add-widget-backup.js new file mode 100644 index 0000000..5c95847 --- /dev/null +++ b/.tmp/scripts/templates/form-add-widget-backup.js @@ -0,0 +1,257 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var attribute, category, class_, elicitationMethod, grammaticality, i, id, index, inputGenerator, j, k, l, len, len1, len10, len11, len12, len13, len2, len3, len4, len5, len6, len7, len8, len9, m, n, o, p, q, r, ref, ref1, ref10, ref11, ref12, ref13, ref14, ref15, ref16, ref17, ref18, ref19, ref2, ref20, ref3, ref4, ref5, ref6, ref7, ref8, ref9, s, source, speaker, t, tag, translation, u, user, v; + + _print(_safe('
          \n\n
          ')); + + _print(this.headerTitle); + + _print(_safe('
          \n\n
          \n\n \n\n \n\n
          \n\n
          \n\n \n\n
          \n\n
          \n\n
          \n\n ')); + + if (this.activeServerType === 'OLD') { + _print(_safe('\n ')); + class_ = ' old'; + _print(_safe('\n ')); + } else if (this.activeServerType === 'FieldDB') { + _print(_safe('\n ')); + class_ = ' fielddb'; + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + class_ = ''; + _print(_safe('\n ')); + } + + _print(_safe('\n
          \n\n
            \n\n ')); + + if (this.activeServerType === 'OLD') { + _print(_safe('\n\n
          • \n\n \n\n \n\n \n\n
          • \n\n
          • \n\n \n\n \n\n
          • \n\n
          • \n\n \n\n \n\n
          • \n\n ')); + if (this.translations.length) { + _print(_safe('\n\n ')); + ref1 = this.translations; + for (index = j = 0, len1 = ref1.length; j < len1; index = ++j) { + translation = ref1[index]; + _print(_safe('\n\n
          • \n\n \n\n \n\n \n\n ')); + if (index === 0) { + _print(_safe('\n \n ')); + } else { + _print(_safe('\n \n ')); + } + _print(_safe('\n\n
          • \n\n ')); + } + _print(_safe('\n\n ')); + } else { + _print(_safe('\n\n
          • \n\n \n\n \n\n \n\n \n\n
          • \n\n ')); + } + _print(_safe('\n\n ')); + _print(_safe('\n\n ')); + } else if (this.activeServerType === 'FieldDB') { + _print(_safe('\n\n ')); + _print(_safe('\n\n ')); + ref4 = this.h.fieldDB.igtAttributes; + for (m = 0, len4 = ref4.length; m < len4; m++) { + attribute = ref4[m]; + _print(_safe('\n
          • \n ')); + _print(_safe(this.h.fieldDB.inputGenerator(attribute)(attribute, this))); + _print(_safe('\n
          • \n ')); + } + _print(_safe('\n\n ')); + ref5 = this.h.fieldDB.translationAttributes; + for (n = 0, len5 = ref5.length; n < len5; n++) { + attribute = ref5[n]; + _print(_safe('\n
          • \n ')); + _print(_safe(this.h.fieldDB.inputGenerator(attribute)(attribute, this))); + _print(_safe('\n
          • \n ')); + } + _print(_safe('\n\n ')); + } + + _print(_safe('\n\n
          \n\n\n ')); + + _print(_safe('\n\n
          \n\n
            \n\n ')); + + if (this.activeServerType === 'OLD') { + _print(_safe('\n\n
          • \n \n \n
          • \n\n
          • \n \n \n
          • \n\n
          • \n \n \n
          • \n\n
          • \n
            \n \n \n
            \n
          • \n\n
          • \n \n \n
          • \n\n
          \n\n
            \n\n
          • \n \n \n
          • \n\n
          • \n \n \n
          • \n\n
          • \n \n \n
          • \n\n
          • \n \n \n
          • \n\n
          • \n \n \n
          • \n\n ')); + _print(_safe('\n ')); + } else if (this.activeServerType === 'FieldDB') { + _print(_safe('\n\n ')); + ref20 = this.h.fieldDB.secondaryAttributes; + for (v = 0, len13 = ref20.length; v < len13; v++) { + attribute = ref20[v]; + _print(_safe('\n
          • \n ')); + inputGenerator = this.h.fieldDB.inputGenerator(attribute); + _print(_safe('\n ')); + _print(_safe(inputGenerator(attribute, this))); + _print(_safe('\n
          • \n ')); + } + _print(_safe('\n\n ')); + } + + _print(_safe('\n\n
          \n\n
          ')); + + _print(_safe('\n\n
            \n
          • \n \n
          • \n\n
          • \n The Blargon of Blargonia.\n
          • \n\n
          \n\n
          \n\n
          \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/form-add-widget.js b/.tmp/scripts/templates/form-add-widget.js new file mode 100644 index 0000000..958f1b4 --- /dev/null +++ b/.tmp/scripts/templates/form-add-widget.js @@ -0,0 +1,78 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
          \n\n
          ')); + + _print(this.headerTitle); + + _print(_safe('
          \n\n
          \n\n \n\n \n\n
          \n\n
          \n\n \n\n \n\n ')); + + if (this.addUpdateType === 'update') { + _print(_safe('\n \n ')); + } + + _print(_safe('\n\n \n\n
          \n\n
          \n\n
          \n\n
          \n\n
            \n
              \n\n
                \n\n
              • \n Save\n\n \n \n\n
              • \n\n
              \n\n
              \n\n
              \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/form-add.js b/.tmp/scripts/templates/form-add.js new file mode 100644 index 0000000..be6c2bb --- /dev/null +++ b/.tmp/scripts/templates/form-add.js @@ -0,0 +1,82 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
              \n
              ')); + + _print(this.headerTitle); + + _print(_safe('
              \n \n
              \n\n
              \n\n
              \n\n
                \n\n
              • \n \n \n \n
              • \n\n
              • \n \n \n
              • \n\n
              • \n \n \n
              • \n\n
              • \n \n \n \n ')); + } else { + _print(_safe('\n >\n ')); + } + + _print(_safe('\n \n
              • \n\n
              \n\n
                \n
              • \n \n \n
              • \n
              • \n \n \n
              • \n
              • \n \n \n
              • \n
              • \n
                \n \n \n
                \n
              • \n
              • \n \n \n
              • \n
              \n\n
                \n
              • \n \n \n
              • \n
              • \n \n \n
              • \n
              • \n \n \n
              • \n
              • \n \n \n
              • \n
              • \n \n \n
              • \n
              \n\n
                \n
              • \n \n
              • \n
              \n
              \n
              \n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/form.js b/.tmp/scripts/templates/form.js new file mode 100644 index 0000000..ca2d811 --- /dev/null +++ b/.tmp/scripts/templates/form.js @@ -0,0 +1,70 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
              \n\n
              \n\n ')); + + if (this.addUpdateType === 'add') { + _print(_safe('\n \n ')); + } else { + _print(_safe('\n \n ')); + } + + _print(_safe('\n\n \n\n \n\n
              \n\n
              ')); + + _print(this.headerTitle || ''); + + _print(_safe('
              \n\n
              \n\n \n\n \n\n \n\n ')); + + if (this.addUpdateType === 'update') { + _print(_safe('\n\n \n\n \n\n \n\n \n\n ')); + } + + _print(_safe('\n\n
              \n\n
              \n\n\n
              \n\n
              \n\n
              \n
              \n
              \n
              \n\n
              \n\n
              \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/forms-search.js b/.tmp/scripts/templates/forms-search.js new file mode 100644 index 0000000..647a392 --- /dev/null +++ b/.tmp/scripts/templates/forms-search.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
              \n\n
              Search Forms
              \n\n
              \n\n
              \n

              The GUI for searching forms should go here

              \n
              \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/forms.js b/.tmp/scripts/templates/forms.js new file mode 100644 index 0000000..89df75f --- /dev/null +++ b/.tmp/scripts/templates/forms.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
              \n\n
              \n\n
              \n\n
              \n
              \n There are no forms to display\n
              \n
              \n Browsing\n \n of\n \n (page\n \n of\n )\n
              \n
              \n\n
              \n\n \n\n \n\n \n\n
              \n\n
              \n\n \n\n \n\n
              \n\n
              \n\n
              \n\n
              \n\n
              \n\n
              \n\n
              \n\n
              \n\n
              \n\n
              \n\n
              \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/generate-and-compile-control.js b/.tmp/scripts/templates/generate-and-compile-control.js new file mode 100644 index 0000000..21c315f --- /dev/null +++ b/.tmp/scripts/templates/generate-and-compile-control.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('Generate & Compile\n
              \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/get-probabilities-control.js b/.tmp/scripts/templates/get-probabilities-control.js new file mode 100644 index 0000000..7598d36 --- /dev/null +++ b/.tmp/scripts/templates/get-probabilities-control.js @@ -0,0 +1,72 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('\n')); + + _print(this.rareDelimiter); + + _print(_safe('\n')); + + _print(this.buttonText); + + _print(_safe('\n
              \n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/grammaticality-value-representation.js b/.tmp/scripts/templates/grammaticality-value-representation.js new file mode 100644 index 0000000..6b67640 --- /dev/null +++ b/.tmp/scripts/templates/grammaticality-value-representation.js @@ -0,0 +1,60 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('')); + + _print(this.grammaticalityValue); + + _print(_safe('')); + + _print(this.value); + + _print(_safe('\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/help-dialog.js b/.tmp/scripts/templates/help-dialog.js new file mode 100644 index 0000000..7c597f0 --- /dev/null +++ b/.tmp/scripts/templates/help-dialog.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
              \n\n
              \n\n \n\n \n\n
              \n\n
              \n\n
              \n
              \n
              \n\n
              \n\n
              \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/home.js b/.tmp/scripts/templates/home.js new file mode 100644 index 0000000..56ed767 --- /dev/null +++ b/.tmp/scripts/templates/home.js @@ -0,0 +1,64 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
              \n\n ')); + + if (this.header) { + _print(_safe('\n
              ')); + _print(this.header); + _print(_safe('
              \n ')); + } else { + _print(_safe('\n
              Dative Home Page
              \n ')); + } + + _print(_safe('\n\n
              \n\n
              \n ')); + + if (this.html) { + _print(_safe('\n
              \n ')); + _print(_safe(this.html)); + _print(_safe('\n
              \n ')); + } else { + _print(_safe('\n

              Welcome to Dative, an\n application for linguistic fieldwork.

              \n ')); + } + + _print(_safe('\n
              \n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/html-snippet-representation.js b/.tmp/scripts/templates/html-snippet-representation.js new file mode 100644 index 0000000..160d4d0 --- /dev/null +++ b/.tmp/scripts/templates/html-snippet-representation.js @@ -0,0 +1,52 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('
              \n ')); + + _print(_safe(this.valueFormatter(this.value))); + + _print(_safe('
              \n
              \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/importer-dialog.js b/.tmp/scripts/templates/importer-dialog.js new file mode 100644 index 0000000..79208bf --- /dev/null +++ b/.tmp/scripts/templates/importer-dialog.js @@ -0,0 +1,58 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var data, ref, type; + + _print(_safe('
              \n
              \n\n
              \n\n \n\n
                \n\n
              • \n
                \n
                \n
                \n Choose file\n \n
                \n
                Uploading file data ...
                \n
                \n
                \n \n
                \n
              \n \n\n
            • \n \n
            • \n \n \n ')); + + ref = this.importTypes; + for (type in ref) { + data = ref[type]; + _print(_safe('\n \n ')); + } + + _print(_safe('\n
              \n \n\n \n\n
              \n\n
              \n
              \n Import Selected\n View Selected\n Validate Selected\n
              \n\n
              \n

              Errors

              \n
              \n
              \n\n
              \n

              Warnings

              \n
              \n
              \n\n
              \n
              \n
              \n
              \n
              \n\n \n\n\n
              \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/input-textarea-input.js b/.tmp/scripts/templates/input-textarea-input.js new file mode 100644 index 0000000..d396a1c --- /dev/null +++ b/.tmp/scripts/templates/input-textarea-input.js @@ -0,0 +1,76 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('\n\n')); + + _print(this.textareaValue); + + _print(_safe('\n\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/keyboard-input.js b/.tmp/scripts/templates/keyboard-input.js new file mode 100644 index 0000000..ff7f44e --- /dev/null +++ b/.tmp/scripts/templates/keyboard-input.js @@ -0,0 +1,298 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + var colIndex, coord, dim, editable, fontSize, height, i, j, k, keyCount, l, label, len, len1, len2, meta, mode, ref, ref1, ref2, ref3, ref4, ref5, ref6, repr, rowIndex, spacerHeight, style, subIndex, subcoord, subdim, title, width; + + _print(_safe('
              \n')); + + ref = this.keyboardLayout.rows; + for (rowIndex = i = 0, len = ref.length; i < len; rowIndex = ++i) { + keyCount = ref[rowIndex]; + _print(_safe('\n
              \n\n ')); + for (colIndex = j = 0, ref1 = keyCount; 0 <= ref1 ? j < ref1 : j > ref1; colIndex = 0 <= ref1 ? ++j : --j) { + _print(_safe('\n ')); + coord = rowIndex + "-" + colIndex; + _print(_safe('\n ')); + meta = this.keyboardLayout.coord2meta[coord]; + _print(_safe('\n ')); + ref2 = [meta != null ? meta.editable : void 0, meta != null ? meta.repr : void 0], editable = ref2[0], repr = ref2[1]; + _print(_safe('\n ')); + dim = this.keyboardLayout.dimensions[coord]; + _print(_safe('\n\n ')); + if (dim) { + _print(_safe('\n\n \n ')); + if (dim.length) { + _print(_safe('\n
              \n ')); + for (subIndex = k = 0, len1 = dim.length; k < len1; subIndex = ++k) { + subdim = dim[subIndex]; + _print(_safe('\n ')); + subcoord = coord + "-" + subIndex; + _print(_safe('\n ')); + meta = this.keyboardLayout.coord2meta[subcoord]; + _print(_safe('\n ')); + ref3 = [meta != null ? meta.editable : void 0, meta != null ? meta.repr : void 0], editable = ref3[0], repr = ref3[1]; + _print(_safe('\n ')); + width = subdim.width * this.keyboardLayout.ppi; + _print(_safe('\n ')); + height = subdim.height * this.keyboardLayout.ppi; + _print(_safe('\n ')); + if (height > 25) { + spacerHeight = 0.4 * height; + } else { + spacerHeight = 0; + } + _print(_safe('\n ')); + if (editable) { + _print(_safe('\n ')); + if (this.editable) { + _print(_safe('\n ')); + title = meta.unicodeMetadata[0] + ". Double-click to edit."; + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + title = meta.unicodeMetadata[0] + "."; + _print(_safe('\n ')); + } + _print(_safe('\n
              \n
              \n
              ')); + _print(repr[0]); + _print(_safe('
              \n
              ')); + _print(repr[1]); + _print(_safe('
              \n
              ')); + _print(repr[2]); + _print(_safe('
              \n
              ')); + _print(repr[3]); + _print(_safe('
              \n
              \n ')); + } + _print(_safe('\n
              \n\n \n ')); + } else { + _print(_safe('\n ')); + width = dim.width * this.keyboardLayout.ppi; + _print(_safe('\n ')); + height = dim.height * this.keyboardLayout.ppi; + _print(_safe('\n ')); + if (!repr[1] && height > 25) { + style = ' style=\'margin-top: 1em;\''; + } else { + style = ''; + } + _print(_safe('\n ')); + if (((ref4 = repr[0]) != null ? ref4.length : void 0) > 5) { + fontSize = ' font-size: 75%;'; + } else { + fontSize = ''; + } + _print(_safe('\n ')); + if (height > 25) { + spacerHeight = 0.4 * height; + } else { + spacerHeight = 0; + } + _print(_safe('\n ')); + if (editable) { + _print(_safe('\n ')); + if (this.editable) { + _print(_safe('\n ')); + title = meta.unicodeMetadata[0] + ". Double-click to edit."; + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + title = meta.unicodeMetadata[0] + "."; + _print(_safe('\n ')); + } + _print(_safe('\n
              \n
              \n
              ')); + _print(repr[0]); + _print(_safe('
              \n
              ')); + _print(repr[1]); + _print(_safe('
              \n
              ')); + _print(repr[2]); + _print(_safe('
              \n
              ')); + _print(repr[3]); + _print(_safe('
              \n
              \n ')); + } + _print(_safe('\n\n \n ')); + } else { + _print(_safe('\n ')); + width = this.keyboardLayout.defaultDimensions.width * this.keyboardLayout.ppi; + _print(_safe('\n ')); + height = this.keyboardLayout.defaultDimensions.height * this.keyboardLayout.ppi; + _print(_safe('\n ')); + if (((ref5 = repr[0]) != null ? ref5.length : void 0) > 5) { + fontSize = ' font-size: 75%;'; + } else { + fontSize = ''; + } + _print(_safe('\n ')); + if (height > 25) { + spacerHeight = 0.4 * height; + } else { + spacerHeight = 0; + } + _print(_safe('\n ')); + if (editable) { + _print(_safe('\n ')); + if (this.editable) { + _print(_safe('\n ')); + title = meta.unicodeMetadata[0] + ". Double-click to edit."; + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + title = meta.unicodeMetadata[0] + "."; + _print(_safe('\n ')); + } + _print(_safe('\n
              \n
              \n
              ')); + _print(repr[0]); + _print(_safe('
              \n
              ')); + _print(repr[1]); + _print(_safe('
              \n
              ')); + _print(repr[2]); + _print(_safe('
              \n
              ')); + _print(repr[3]); + _print(_safe('
              \n
              \n ')); + } + _print(_safe('\n\n ')); + } + _print(_safe('\n\n
              \n')); + } + + _print(_safe('\n
              \n\n
              \n \n
              \n\n
              \n\n
              \n
              \n
              \n Key #\n
              \n
              \n \n
              \n
              \n
              \n ')); + + ref6 = ['default', 'shift', 'alt', 'altshift']; + for (l = 0, len2 = ref6.length; l < len2; l++) { + mode = ref6[l]; + _print(_safe('\n ')); + if (mode === 'altshift') { + _print(_safe('\n ')); + label = 'alt+shift'; + title = ' and the alt and shift keys are being held down.'; + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + label = mode; + _print(_safe('\n ')); + if (mode === 'alt') { + _print(_safe('\n ')); + title = ' and the alt key is being held down.'; + _print(_safe('\n ')); + } else if (mode === 'shift') { + _print(_safe('\n ')); + title = ' and the shift key is being held down.'; + _print(_safe('\n ')); + } else { + _print(_safe('\n ')); + title = '.'; + _print(_safe('\n ')); + } + _print(_safe('\n ')); + } + _print(_safe('\n
              \n
              \n \n
              \n \n
              \n ')); + } + + _print(_safe('\n
              \n
              \n\n
              \n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/label.js b/.tmp/scripts/templates/label.js new file mode 100644 index 0000000..9932908 --- /dev/null +++ b/.tmp/scripts/templates/label.js @@ -0,0 +1,56 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('')); + + _print(this.label); + + _print(_safe('\n\n')); + + }).call(this); + + return __out.join(''); + }).call((function() { + var obj = { + escape: function(value) { + return ('' + value) + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"'); + }, + safe: _safe + }, key; + for (key in __obj) obj[key] = __obj[key]; + return obj; + })()); +}; + return template; +}); diff --git a/.tmp/scripts/templates/login-dialog.js b/.tmp/scripts/templates/login-dialog.js new file mode 100644 index 0000000..97cd0da --- /dev/null +++ b/.tmp/scripts/templates/login-dialog.js @@ -0,0 +1,44 @@ +define(function(){ + var template = function(__obj) { + var _safe = function(value) { + if (typeof value === 'undefined' && value == null) + value = ''; + var result = new String(value); + result.ecoSafe = true; + return result; + }; + return (function() { + var __out = [], __self = this, _print = function(value) { + if (typeof value !== 'undefined' && value != null) + __out.push(value.ecoSafe ? value : __self.escape(value)); + }, _capture = function(callback) { + var out = __out, result; + __out = []; + callback.call(this); + result = __out.join(''); + __out = out; + return _safe(result); + }; + (function() { + _print(_safe('\n\n