\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\n
\n '));
+
+ if (this.hasSettings) {
+ _print(_safe('\n \n '));
+ }
+
+ _print(_safe('\n Export \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'));
+
+ }).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'));
+
+ }).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'));
+
+ }).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
\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 \n '));
+ if (this.lossyFilename && this.MIMEType === 'audio/x-wav') {
+ _print(_safe('\n \n '));
+ }
+ _print(_safe('\n \n Your browser does not support the audio tag.\n \n '));
+ } else if (this.type === 'video' && this.canPlayVideo) {
+ _print(_safe('\n
\n \n Your browser does not support the video tag.\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
'));
+
+ _print(_safe(buttonText));
+
+ _print(_safe(' \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 '));
+ ref4 = this.attributes;
+ for (i = 0, len = ref4.length; i < len; i++) {
+ attribute = ref4[i];
+ _print(_safe('\n '));
+ if (attribute === myAttribute) {
+ _print(_safe('\n '));
+ _print(this.snake2regular(attribute));
+ _print(_safe(' \n '));
+ } else {
+ _print(_safe('\n '));
+ _print(this.snake2regular(attribute));
+ _print(_safe(' \n '));
+ }
+ _print(_safe('\n '));
+ }
+ _print(_safe('\n \n\n '));
+ if (this.filterExpression.length === 5) {
+ _print(_safe('\n \n '));
+ } else {
+ _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 '));
+ _print(this.snake2regular(attribute));
+ _print(_safe(' \n '));
+ } else {
+ _print(_safe('\n '));
+ _print(this.snake2regular(attribute));
+ _print(_safe(' \n '));
+ }
+ _print(_safe('\n '));
+ }
+ _print(_safe('\n '));
+ }
+ _print(_safe('\n \n\n \n '));
+ ref6 = this.relations;
+ for (k = 0, len2 = ref6.length; k < len2; k++) {
+ relation = ref6[k];
+ _print(_safe('\n '));
+ if (relation === myRelation) {
+ _print(_safe('\n '));
+ _print(relation);
+ _print(_safe(' \n '));
+ } else {
+ _print(_safe('\n '));
+ _print(relation);
+ _print(_safe(' \n '));
+ }
+ _print(_safe('\n '));
+ }
+ _print(_safe('\n \n\n \n '));
+ }
+
+ _print(_safe('\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-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
\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'));
+
+ }).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
\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\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\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
\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
\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
\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 Import Selected \n View Selected \n Validate Selected \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 '));
+
+ 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 '));
+ _print(label);
+ _print(_safe(' \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
\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/mainmenu.js b/.tmp/scripts/templates/mainmenu.js
new file mode 100644
index 0000000..eb9d091
--- /dev/null
+++ b/.tmp/scripts/templates/mainmenu.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
\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/modified-by-user-representation.js b/.tmp/scripts/templates/modified-by-user-representation.js
new file mode 100644
index 0000000..dfee9c2
--- /dev/null
+++ b/.tmp/scripts/templates/modified-by-user-representation.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('
'));
+
+ _print(this.usernameValue);
+
+ _print(_safe(' ('));
+
+ _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/multi-element-tag-input.js b/.tmp/scripts/templates/multi-element-tag-input.js
new file mode 100644
index 0000000..bfc596b
--- /dev/null
+++ b/.tmp/scripts/templates/multi-element-tag-input.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() {
+ var i, len, object, ref;
+
+ _print(_safe('
\n '));
+
+ ref = this.value;
+ for (i = 0, len = ref.length; i < len; i++) {
+ object = ref[i];
+ _print(_safe('\n '));
+ _print(object.name);
+ _print(_safe(' \n '));
+ }
+
+ _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/multiselect-input.js b/.tmp/scripts/templates/multiselect-input.js
new file mode 100644
index 0000000..81eda0d
--- /dev/null
+++ b/.tmp/scripts/templates/multiselect-input.js
@@ -0,0 +1,98 @@
+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, options, ref, ref1, selectOption, x,
+ indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
+
+ _print(_safe('
\n '));
+
+ options = this.options[this.optionsAttribute] || [];
+
+ _print(_safe('\n '));
+
+ ref = _.sortBy(options, (function(_this) {
+ return function(x) {
+ return x[_this.sortByAttribute].toLowerCase();
+ };
+ })(this));
+ for (i = 0, len = ref.length; i < len; i++) {
+ selectOption = ref[i];
+ _print(_safe('\n '));
+ if (ref1 = this.selectValueGetter(selectOption), indexOf.call((function() {
+ var j, len1, ref2, results;
+ ref2 = this.value;
+ results = [];
+ for (j = 0, len1 = ref2.length; j < len1; j++) {
+ x = ref2[j];
+ results.push(this.selectValueGetter(x));
+ }
+ return results;
+ }).call(this), ref1) >= 0) {
+ _print(_safe('\n '));
+ _print(this.selectTextGetter(selectOption));
+ _print(_safe(' \n '));
+ } else {
+ _print(_safe('\n '));
+ _print(this.selectTextGetter(selectOption));
+ _print(_safe(' \n '));
+ }
+ _print(_safe('\n '));
+ }
+
+ _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/notification.js b/.tmp/scripts/templates/notification.js
new file mode 100644
index 0000000..5be080f
--- /dev/null
+++ b/.tmp/scripts/templates/notification.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('
'));
+
+ _print(this.title);
+
+ _print(_safe('
\n
'));
+
+ _print(this.content);
+
+ _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/notifier.js b/.tmp/scripts/templates/notifier.js
new file mode 100644
index 0000000..db17a45
--- /dev/null
+++ b/.tmp/scripts/templates/notifier.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'));
+
+ }).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/page.js b/.tmp/scripts/templates/page.js
new file mode 100644
index 0000000..f3117f0
--- /dev/null
+++ b/.tmp/scripts/templates/page.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.name);
+
+ _print(_safe('
\n\n'));
+
+ if (this.html) {
+ _print(_safe('\n '));
+ _print(this.html);
+ _print(_safe('\n
ggg html
\n'));
+ } else {
+ _print(_safe('\n
X'));
+ _print(this.content);
+ _print(_safe('
\n
fff html
\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/pagination-item-table.js b/.tmp/scripts/templates/pagination-item-table.js
new file mode 100644
index 0000000..9130c08
--- /dev/null
+++ b/.tmp/scripts/templates/pagination-item-table.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 ('));
+
+ _print(this.integerWithCommas(this.index));
+
+ _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/pagination-menu-top.js b/.tmp/scripts/templates/pagination-menu-top.js
new file mode 100644
index 0000000..eec67fe
--- /dev/null
+++ b/.tmp/scripts/templates/pagination-menu-top.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() {
+ var i, integer, len, ref, selected;
+
+ _print(_safe('
\n\n \n \n \n\n \n \n \n\n
\n\n
\n\n \n '));
+
+ ref = this.possibleItemsPerPage;
+ for (i = 0, len = ref.length; i < len; i++) {
+ integer = ref[i];
+ _print(_safe('\n '));
+ selected = integer === this.itemsPerPage ? 'selected' : '';
+ _print(_safe('\n '));
+ _print(integer);
+ _print(_safe(' '));
+ _print(this.pluralizeByNum('item', integer));
+ _print(_safe(' per page\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'));
+
+ }).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/parse-control.js b/.tmp/scripts/templates/parse-control.js
new file mode 100644
index 0000000..6742bea
--- /dev/null
+++ b/.tmp/scripts/templates/parse-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('
\n
Parse \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/password-input.js b/.tmp/scripts/templates/password-input.js
new file mode 100644
index 0000000..736260d
--- /dev/null
+++ b/.tmp/scripts/templates/password-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'));
+
+ }).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/progress-widget.js b/.tmp/scripts/templates/progress-widget.js
new file mode 100644
index 0000000..7be37ce
--- /dev/null
+++ b/.tmp/scripts/templates/progress-widget.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('