less-rails-semantic_ui 2.1.8.2 → 2.2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE.md +15 -0
  3. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.eot +0 -0
  4. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.svg +146 -26
  5. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.ttf +0 -0
  6. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.woff +0 -0
  7. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.woff2 +0 -0
  8. data/assets/javascripts/semantic_ui/definitions/behaviors/api.js +41 -16
  9. data/assets/javascripts/semantic_ui/definitions/behaviors/colorize.js +233 -227
  10. data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +58 -23
  11. data/assets/javascripts/semantic_ui/definitions/behaviors/state.js +20 -7
  12. data/assets/javascripts/semantic_ui/definitions/behaviors/visibility.js +89 -22
  13. data/assets/javascripts/semantic_ui/definitions/behaviors/visit.js +13 -5
  14. data/assets/javascripts/semantic_ui/definitions/globals/site.js +2 -2
  15. data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +20 -6
  16. data/assets/javascripts/semantic_ui/definitions/modules/checkbox.js +31 -9
  17. data/assets/javascripts/semantic_ui/definitions/modules/dimmer.js +27 -9
  18. data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +482 -207
  19. data/assets/javascripts/semantic_ui/definitions/modules/embed.js +50 -13
  20. data/assets/javascripts/semantic_ui/definitions/modules/modal.js +28 -13
  21. data/assets/javascripts/semantic_ui/definitions/modules/nag.js +28 -7
  22. data/assets/javascripts/semantic_ui/definitions/modules/popup.js +136 -76
  23. data/assets/javascripts/semantic_ui/definitions/modules/progress.js +177 -62
  24. data/assets/javascripts/semantic_ui/definitions/modules/rating.js +41 -8
  25. data/assets/javascripts/semantic_ui/definitions/modules/search.js +109 -56
  26. data/assets/javascripts/semantic_ui/definitions/modules/shape.js +52 -19
  27. data/assets/javascripts/semantic_ui/definitions/modules/sidebar.js +21 -7
  28. data/assets/javascripts/semantic_ui/definitions/modules/sticky.js +48 -19
  29. data/assets/javascripts/semantic_ui/definitions/modules/tab.js +57 -27
  30. data/assets/javascripts/semantic_ui/definitions/modules/transition.js +24 -8
  31. data/assets/stylesheets/semantic_ui/definitions/collections/breadcrumb.less +1 -2
  32. data/assets/stylesheets/semantic_ui/definitions/collections/form.less +42 -36
  33. data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +12 -5
  34. data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +50 -6
  35. data/assets/stylesheets/semantic_ui/definitions/collections/message.less +20 -1
  36. data/assets/stylesheets/semantic_ui/definitions/collections/table.less +16 -3
  37. data/assets/stylesheets/semantic_ui/definitions/elements/button.less +184 -40
  38. data/assets/stylesheets/semantic_ui/definitions/elements/container.less +1 -2
  39. data/assets/stylesheets/semantic_ui/definitions/elements/divider.less +1 -3
  40. data/assets/stylesheets/semantic_ui/definitions/elements/flag.less +1 -2
  41. data/assets/stylesheets/semantic_ui/definitions/elements/header.less +2 -2
  42. data/assets/stylesheets/semantic_ui/definitions/elements/icon.less +1 -2
  43. data/assets/stylesheets/semantic_ui/definitions/elements/image.less +6 -1
  44. data/assets/stylesheets/semantic_ui/definitions/elements/input.less +14 -14
  45. data/assets/stylesheets/semantic_ui/definitions/elements/label.less +3 -3
  46. data/assets/stylesheets/semantic_ui/definitions/elements/list.less +29 -16
  47. data/assets/stylesheets/semantic_ui/definitions/elements/loader.less +72 -9
  48. data/assets/stylesheets/semantic_ui/definitions/elements/rail.less +21 -2
  49. data/assets/stylesheets/semantic_ui/definitions/elements/reveal.less +2 -3
  50. data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +44 -3
  51. data/assets/stylesheets/semantic_ui/definitions/elements/step.less +28 -8
  52. data/assets/stylesheets/semantic_ui/definitions/globals/reset.less +1 -2
  53. data/assets/stylesheets/semantic_ui/definitions/globals/site.less +0 -1
  54. data/assets/stylesheets/semantic_ui/definitions/modules/accordion.less +0 -1
  55. data/assets/stylesheets/semantic_ui/definitions/modules/checkbox.less +9 -10
  56. data/assets/stylesheets/semantic_ui/definitions/modules/dimmer.less +1 -2
  57. data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +39 -21
  58. data/assets/stylesheets/semantic_ui/definitions/modules/embed.less +0 -1
  59. data/assets/stylesheets/semantic_ui/definitions/modules/modal.less +0 -1
  60. data/assets/stylesheets/semantic_ui/definitions/modules/nag.less +1 -2
  61. data/assets/stylesheets/semantic_ui/definitions/modules/popup.less +344 -2
  62. data/assets/stylesheets/semantic_ui/definitions/modules/progress.less +0 -1
  63. data/assets/stylesheets/semantic_ui/definitions/modules/rating.less +0 -1
  64. data/assets/stylesheets/semantic_ui/definitions/modules/search.less +1 -1
  65. data/assets/stylesheets/semantic_ui/definitions/modules/shape.less +1 -2
  66. data/assets/stylesheets/semantic_ui/definitions/modules/sidebar.less +1 -2
  67. data/assets/stylesheets/semantic_ui/definitions/modules/sticky.less +1 -2
  68. data/assets/stylesheets/semantic_ui/definitions/modules/tab.less +1 -2
  69. data/assets/stylesheets/semantic_ui/definitions/modules/transition.less +1 -2
  70. data/assets/stylesheets/semantic_ui/definitions/views/card.less +20 -2
  71. data/assets/stylesheets/semantic_ui/definitions/views/comment.less +1 -2
  72. data/assets/stylesheets/semantic_ui/definitions/views/feed.less +0 -1
  73. data/assets/stylesheets/semantic_ui/definitions/views/item.less +1 -2
  74. data/assets/stylesheets/semantic_ui/definitions/views/statistic.less +18 -19
  75. data/assets/stylesheets/semantic_ui/themes/basic/globals/reset.overrides +1 -1
  76. data/assets/stylesheets/semantic_ui/themes/default/collections/form.variables +4 -5
  77. data/assets/stylesheets/semantic_ui/themes/default/collections/menu.variables +13 -0
  78. data/assets/stylesheets/semantic_ui/themes/default/collections/message.variables +47 -1
  79. data/assets/stylesheets/semantic_ui/themes/default/collections/table.variables +7 -2
  80. data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +14 -0
  81. data/assets/stylesheets/semantic_ui/themes/default/elements/icon.overrides +263 -76
  82. data/assets/stylesheets/semantic_ui/themes/default/elements/icon.variables +3 -1
  83. data/assets/stylesheets/semantic_ui/themes/default/elements/input.variables +2 -4
  84. data/assets/stylesheets/semantic_ui/themes/default/elements/list.variables +2 -1
  85. data/assets/stylesheets/semantic_ui/themes/default/elements/loader.variables +17 -5
  86. data/assets/stylesheets/semantic_ui/themes/default/elements/rail.variables +2 -2
  87. data/assets/stylesheets/semantic_ui/themes/default/elements/step.variables +1 -1
  88. data/assets/stylesheets/semantic_ui/themes/default/globals/reset.overrides +1 -6
  89. data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +170 -46
  90. data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +15 -12
  91. data/assets/stylesheets/semantic_ui/themes/default/modules/popup.variables +41 -3
  92. data/assets/stylesheets/semantic_ui/themes/default/modules/rating.overrides +2 -2
  93. data/assets/stylesheets/semantic_ui/themes/default/modules/sticky.variables +1 -1
  94. data/assets/stylesheets/semantic_ui/themes/default/views/card.variables +11 -0
  95. data/assets/stylesheets/semantic_ui/themes/material/collections/menu.variables +1 -1
  96. data/lib/less/rails/semantic_ui/version.rb +1 -1
  97. metadata +4 -3
@@ -3,272 +3,278 @@
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
- * Copyright 2015 Contributors
7
6
  * Released under the MIT license
8
7
  * http://opensource.org/licenses/MIT
9
8
  *
10
9
  */
11
10
 
12
- ;(function ( $, window, document, undefined ) {
11
+ ;(function ($, window, document, undefined) {
13
12
 
14
- "use strict";
13
+ "use strict";
15
14
 
16
- $.fn.colorize = function(parameters) {
17
- var
18
- settings = ( $.isPlainObject(parameters) )
19
- ? $.extend(true, {}, $.fn.colorize.settings, parameters)
20
- : $.extend({}, $.fn.colorize.settings),
21
- // hoist arguments
22
- moduleArguments = arguments || false
23
- ;
24
- $(this)
25
- .each(function(instanceIndex) {
15
+ window = (typeof window != 'undefined' && window.Math == Math)
16
+ ? window
17
+ : (typeof self != 'undefined' && self.Math == Math)
18
+ ? self
19
+ : Function('return this')()
20
+ ;
26
21
 
27
- var
28
- $module = $(this),
22
+ $.fn.colorize = function(parameters) {
23
+ var
24
+ settings = ( $.isPlainObject(parameters) )
25
+ ? $.extend(true, {}, $.fn.colorize.settings, parameters)
26
+ : $.extend({}, $.fn.colorize.settings),
27
+ // hoist arguments
28
+ moduleArguments = arguments || false
29
+ ;
30
+ $(this)
31
+ .each(function(instanceIndex) {
29
32
 
30
- mainCanvas = $('<canvas />')[0],
31
- imageCanvas = $('<canvas />')[0],
32
- overlayCanvas = $('<canvas />')[0],
33
+ var
34
+ $module = $(this),
33
35
 
34
- backgroundImage = new Image(),
36
+ mainCanvas = $('<canvas />')[0],
37
+ imageCanvas = $('<canvas />')[0],
38
+ overlayCanvas = $('<canvas />')[0],
35
39
 
36
- // defs
37
- mainContext,
38
- imageContext,
39
- overlayContext,
40
+ backgroundImage = new Image(),
40
41
 
41
- image,
42
- imageName,
42
+ // defs
43
+ mainContext,
44
+ imageContext,
45
+ overlayContext,
43
46
 
44
- width,
45
- height,
47
+ image,
48
+ imageName,
46
49
 
47
- // shortucts
48
- colors = settings.colors,
49
- paths = settings.paths,
50
- namespace = settings.namespace,
51
- error = settings.error,
50
+ width,
51
+ height,
52
52
 
53
- // boilerplate
54
- instance = $module.data('module-' + namespace),
55
- module
56
- ;
53
+ // shortcuts
54
+ colors = settings.colors,
55
+ paths = settings.paths,
56
+ namespace = settings.namespace,
57
+ error = settings.error,
57
58
 
58
- module = {
59
+ // boilerplate
60
+ instance = $module.data('module-' + namespace),
61
+ module
62
+ ;
59
63
 
60
- checkPreconditions: function() {
61
- module.debug('Checking pre-conditions');
64
+ module = {
62
65
 
63
- if( !$.isPlainObject(colors) || $.isEmptyObject(colors) ) {
64
- module.error(error.undefinedColors);
65
- return false;
66
- }
67
- return true;
68
- },
66
+ checkPreconditions: function() {
67
+ module.debug('Checking pre-conditions');
69
68
 
70
- async: function(callback) {
71
- if(settings.async) {
72
- setTimeout(callback, 0);
73
- }
74
- else {
75
- callback();
76
- }
77
- },
69
+ if( !$.isPlainObject(colors) || $.isEmptyObject(colors) ) {
70
+ module.error(error.undefinedColors);
71
+ return false;
72
+ }
73
+ return true;
74
+ },
78
75
 
79
- getMetadata: function() {
80
- module.debug('Grabbing metadata');
81
- image = $module.data('image') || settings.image || undefined;
82
- imageName = $module.data('name') || settings.name || instanceIndex;
83
- width = settings.width || $module.width();
84
- height = settings.height || $module.height();
85
- if(width === 0 || height === 0) {
86
- module.error(error.undefinedSize);
87
- }
88
- },
76
+ async: function(callback) {
77
+ if(settings.async) {
78
+ setTimeout(callback, 0);
79
+ }
80
+ else {
81
+ callback();
82
+ }
83
+ },
84
+
85
+ getMetadata: function() {
86
+ module.debug('Grabbing metadata');
87
+ image = $module.data('image') || settings.image || undefined;
88
+ imageName = $module.data('name') || settings.name || instanceIndex;
89
+ width = settings.width || $module.width();
90
+ height = settings.height || $module.height();
91
+ if(width === 0 || height === 0) {
92
+ module.error(error.undefinedSize);
93
+ }
94
+ },
89
95
 
90
- initialize: function() {
91
- module.debug('Initializing with colors', colors);
92
- if( module.checkPreconditions() ) {
93
-
94
- module.async(function() {
95
- module.getMetadata();
96
- module.canvas.create();
97
-
98
- module.draw.image(function() {
99
- module.draw.colors();
100
- module.canvas.merge();
101
- });
102
- $module
103
- .data('module-' + namespace, module)
104
- ;
105
- });
106
- }
107
- },
96
+ initialize: function() {
97
+ module.debug('Initializing with colors', colors);
98
+ if( module.checkPreconditions() ) {
108
99
 
109
- redraw: function() {
110
- module.debug('Redrawing image');
111
100
  module.async(function() {
112
- module.canvas.clear();
113
- module.draw.colors();
114
- module.canvas.merge();
115
- });
116
- },
101
+ module.getMetadata();
102
+ module.canvas.create();
117
103
 
118
- change: {
119
- color: function(colorName, color) {
120
- module.debug('Changing color', colorName);
121
- if(colors[colorName] === undefined) {
122
- module.error(error.missingColor);
123
- return false;
124
- }
125
- colors[colorName] = color;
126
- module.redraw();
104
+ module.draw.image(function() {
105
+ module.draw.colors();
106
+ module.canvas.merge();
107
+ });
108
+ $module
109
+ .data('module-' + namespace, module)
110
+ ;
111
+ });
112
+ }
113
+ },
114
+
115
+ redraw: function() {
116
+ module.debug('Redrawing image');
117
+ module.async(function() {
118
+ module.canvas.clear();
119
+ module.draw.colors();
120
+ module.canvas.merge();
121
+ });
122
+ },
123
+
124
+ change: {
125
+ color: function(colorName, color) {
126
+ module.debug('Changing color', colorName);
127
+ if(colors[colorName] === undefined) {
128
+ module.error(error.missingColor);
129
+ return false;
127
130
  }
128
- },
131
+ colors[colorName] = color;
132
+ module.redraw();
133
+ }
134
+ },
129
135
 
130
- canvas: {
131
- create: function() {
132
- module.debug('Creating canvases');
136
+ canvas: {
137
+ create: function() {
138
+ module.debug('Creating canvases');
133
139
 
134
- mainCanvas.width = width;
135
- mainCanvas.height = height;
136
- imageCanvas.width = width;
137
- imageCanvas.height = height;
138
- overlayCanvas.width = width;
139
- overlayCanvas.height = height;
140
+ mainCanvas.width = width;
141
+ mainCanvas.height = height;
142
+ imageCanvas.width = width;
143
+ imageCanvas.height = height;
144
+ overlayCanvas.width = width;
145
+ overlayCanvas.height = height;
140
146
 
141
- mainContext = mainCanvas.getContext('2d');
142
- imageContext = imageCanvas.getContext('2d');
143
- overlayContext = overlayCanvas.getContext('2d');
147
+ mainContext = mainCanvas.getContext('2d');
148
+ imageContext = imageCanvas.getContext('2d');
149
+ overlayContext = overlayCanvas.getContext('2d');
144
150
 
145
- $module
146
- .append( mainCanvas )
147
- ;
148
- mainContext = $module.children('canvas')[0].getContext('2d');
149
- },
150
- clear: function(context) {
151
- module.debug('Clearing canvas');
152
- overlayContext.fillStyle = '#FFFFFF';
153
- overlayContext.fillRect(0, 0, width, height);
154
- },
155
- merge: function() {
156
- if( !$.isFunction(mainContext.blendOnto) ) {
157
- module.error(error.missingPlugin);
158
- return;
159
- }
160
- mainContext.putImageData( imageContext.getImageData(0, 0, width, height), 0, 0);
161
- overlayContext.blendOnto(mainContext, 'multiply');
162
- }
151
+ $module
152
+ .append( mainCanvas )
153
+ ;
154
+ mainContext = $module.children('canvas')[0].getContext('2d');
155
+ },
156
+ clear: function(context) {
157
+ module.debug('Clearing canvas');
158
+ overlayContext.fillStyle = '#FFFFFF';
159
+ overlayContext.fillRect(0, 0, width, height);
163
160
  },
161
+ merge: function() {
162
+ if( !$.isFunction(mainContext.blendOnto) ) {
163
+ module.error(error.missingPlugin);
164
+ return;
165
+ }
166
+ mainContext.putImageData( imageContext.getImageData(0, 0, width, height), 0, 0);
167
+ overlayContext.blendOnto(mainContext, 'multiply');
168
+ }
169
+ },
164
170
 
165
- draw: {
166
-
167
- image: function(callback) {
168
- module.debug('Drawing image');
169
- callback = callback || function(){};
170
- if(image) {
171
- backgroundImage.src = image;
172
- backgroundImage.onload = function() {
173
- imageContext.drawImage(backgroundImage, 0, 0);
174
- callback();
175
- };
176
- }
177
- else {
178
- module.error(error.noImage);
179
- callback();
180
- }
181
- },
171
+ draw: {
182
172
 
183
- colors: function() {
184
- module.debug('Drawing color overlays', colors);
185
- $.each(colors, function(colorName, color) {
186
- settings.onDraw(overlayContext, imageName, colorName, color);
187
- });
173
+ image: function(callback) {
174
+ module.debug('Drawing image');
175
+ callback = callback || function(){};
176
+ if(image) {
177
+ backgroundImage.src = image;
178
+ backgroundImage.onload = function() {
179
+ imageContext.drawImage(backgroundImage, 0, 0);
180
+ callback();
181
+ };
182
+ }
183
+ else {
184
+ module.error(error.noImage);
185
+ callback();
188
186
  }
189
-
190
187
  },
191
188
 
192
- debug: function(message, variableName) {
193
- if(settings.debug) {
194
- if(variableName !== undefined) {
195
- console.info(settings.name + ': ' + message, variableName);
196
- }
197
- else {
198
- console.info(settings.name + ': ' + message);
199
- }
189
+ colors: function() {
190
+ module.debug('Drawing color overlays', colors);
191
+ $.each(colors, function(colorName, color) {
192
+ settings.onDraw(overlayContext, imageName, colorName, color);
193
+ });
194
+ }
195
+
196
+ },
197
+
198
+ debug: function(message, variableName) {
199
+ if(settings.debug) {
200
+ if(variableName !== undefined) {
201
+ console.info(settings.name + ': ' + message, variableName);
200
202
  }
201
- },
202
- error: function(errorMessage) {
203
- console.warn(settings.name + ': ' + errorMessage);
204
- },
205
- invoke: function(methodName, context, methodArguments) {
206
- var
207
- method
208
- ;
209
- methodArguments = methodArguments || Array.prototype.slice.call( arguments, 2 );
210
-
211
- if(typeof methodName == 'string' && instance !== undefined) {
212
- methodName = methodName.split('.');
213
- $.each(methodName, function(index, name) {
214
- if( $.isPlainObject( instance[name] ) ) {
215
- instance = instance[name];
216
- return true;
217
- }
218
- else if( $.isFunction( instance[name] ) ) {
219
- method = instance[name];
220
- return true;
221
- }
222
- module.error(settings.error.method);
223
- return false;
224
- });
203
+ else {
204
+ console.info(settings.name + ': ' + message);
225
205
  }
226
- return ( $.isFunction( method ) )
227
- ? method.apply(context, methodArguments)
228
- : false
229
- ;
230
206
  }
231
-
232
- };
233
- if(instance !== undefined && moduleArguments) {
234
- // simpler than invoke realizing to invoke itself (and losing scope due prototype.call()
235
- if(moduleArguments[0] == 'invoke') {
236
- moduleArguments = Array.prototype.slice.call( moduleArguments, 1 );
207
+ },
208
+ error: function(errorMessage) {
209
+ console.warn(settings.name + ': ' + errorMessage);
210
+ },
211
+ invoke: function(methodName, context, methodArguments) {
212
+ var
213
+ method
214
+ ;
215
+ methodArguments = methodArguments || Array.prototype.slice.call( arguments, 2 );
216
+
217
+ if(typeof methodName == 'string' && instance !== undefined) {
218
+ methodName = methodName.split('.');
219
+ $.each(methodName, function(index, name) {
220
+ if( $.isPlainObject( instance[name] ) ) {
221
+ instance = instance[name];
222
+ return true;
223
+ }
224
+ else if( $.isFunction( instance[name] ) ) {
225
+ method = instance[name];
226
+ return true;
227
+ }
228
+ module.error(settings.error.method);
229
+ return false;
230
+ });
237
231
  }
238
- return module.invoke(moduleArguments[0], this, Array.prototype.slice.call( moduleArguments, 1 ) );
232
+ return ( $.isFunction( method ) )
233
+ ? method.apply(context, methodArguments)
234
+ : false
235
+ ;
236
+ }
237
+
238
+ };
239
+ if(instance !== undefined && moduleArguments) {
240
+ // simpler than invoke realizing to invoke itself (and losing scope due prototype.call()
241
+ if(moduleArguments[0] == 'invoke') {
242
+ moduleArguments = Array.prototype.slice.call( moduleArguments, 1 );
239
243
  }
240
- // initializing
241
- module.initialize();
242
- })
243
- ;
244
- return this;
245
- };
246
-
247
- $.fn.colorize.settings = {
248
- name : 'Image Colorizer',
249
- debug : true,
250
- namespace : 'colorize',
251
-
252
- onDraw : function(overlayContext, imageName, colorName, color) {},
253
-
254
- // whether to block execution while updating canvas
255
- async : true,
256
- // object containing names and default values of color regions
257
- colors : {},
258
-
259
- metadata: {
260
- image : 'image',
261
- name : 'name'
262
- },
263
-
264
- error: {
265
- noImage : 'No tracing image specified',
266
- undefinedColors : 'No default colors specified.',
267
- missingColor : 'Attempted to change color that does not exist',
268
- missingPlugin : 'Blend onto plug-in must be included',
269
- undefinedHeight : 'The width or height of image canvas could not be automatically determined. Please specify a height.'
270
- }
271
-
272
- };
244
+ return module.invoke(moduleArguments[0], this, Array.prototype.slice.call( moduleArguments, 1 ) );
245
+ }
246
+ // initializing
247
+ module.initialize();
248
+ })
249
+ ;
250
+ return this;
251
+ };
252
+
253
+ $.fn.colorize.settings = {
254
+ name : 'Image Colorizer',
255
+ debug : true,
256
+ namespace : 'colorize',
257
+
258
+ onDraw : function(overlayContext, imageName, colorName, color) {},
259
+
260
+ // whether to block execution while updating canvas
261
+ async : true,
262
+ // object containing names and default values of color regions
263
+ colors : {},
264
+
265
+ metadata: {
266
+ image : 'image',
267
+ name : 'name'
268
+ },
269
+
270
+ error: {
271
+ noImage : 'No tracing image specified',
272
+ undefinedColors : 'No default colors specified.',
273
+ missingColor : 'Attempted to change color that does not exist',
274
+ missingPlugin : 'Blend onto plug-in must be included',
275
+ undefinedHeight : 'The width or height of image canvas could not be automatically determined. Please specify a height.'
276
+ }
277
+
278
+ };
273
279
 
274
280
  })( jQuery, window, document );