Permalink
Browse files

Ticket #198 - Changed option name from strings to string because all …

…other options

are singular.
  • Loading branch information...
1 parent e69d02e commit a4aeacbd27d59c93457941b98090937c179015b6 @OscarGodson committed Jan 16, 2013
Showing with 17 additions and 17 deletions.
  1. +6 −6 epiceditor/js/epiceditor.js
  2. +1 −1 epiceditor/js/epiceditor.min.js
  3. +6 −6 src/editor.js
  4. +4 −4 test/test.options.js
@@ -322,9 +322,9 @@
, fullscreen: 70 // f keycode
, preview: 80 // p keycode
}
- , strings : { togglePreview : 'Toggle Preview Mode'
- , toggleEdit : 'Toggle Edit Mode'
- , toggleFullscreen : 'Enter Fullscreen'
+ , string: { togglePreview: 'Toggle Preview Mode'
+ , toggleEdit: 'Toggle Edit Mode'
+ , toggleFullscreen: 'Enter Fullscreen'
}
, parser: typeof marked == 'function' ? marked : null
}
@@ -490,9 +490,9 @@
'<iframe frameborder="0" id="epiceditor-editor-frame"></iframe>' +
'<iframe frameborder="0" id="epiceditor-previewer-frame"></iframe>' +
'<div id="epiceditor-utilbar">' +
- '<img width="30" src="' + this.settings.basePath + '/images/preview.png" title="' + this.settings.strings.togglePreview + '" class="epiceditor-toggle-btn epiceditor-toggle-preview-btn"> ' +
- '<img width="30" src="' + this.settings.basePath + '/images/edit.png" title="' + this.settings.strings.toggleEdit + '" class="epiceditor-toggle-btn epiceditor-toggle-edit-btn"> ' +
- '<img width="30" src="' + this.settings.basePath + '/images/fullscreen.png" title="' + this.settings.strings.toggleFullscreen + '" class="epiceditor-fullscreen-btn">' +
+ '<img width="30" src="' + this.settings.basePath + '/images/preview.png" title="' + this.settings.string.togglePreview + '" class="epiceditor-toggle-btn epiceditor-toggle-preview-btn"> ' +
+ '<img width="30" src="' + this.settings.basePath + '/images/edit.png" title="' + this.settings.string.toggleEdit + '" class="epiceditor-toggle-btn epiceditor-toggle-edit-btn"> ' +
+ '<img width="30" src="' + this.settings.basePath + '/images/fullscreen.png" title="' + this.settings.string.toggleFullscreen + '" class="epiceditor-fullscreen-btn">' +
'</div>' +
'</div>'
Oops, something went wrong.

0 comments on commit a4aeacb

Please sign in to comment.