Added comments to editor preview

This commit is contained in:
Boaz Leskes 2014-01-12 16:37:42 +01:00
parent d5375d914d
commit 17883e8d01
2 changed files with 8 additions and 6 deletions

View file

@ -10,13 +10,14 @@ define([
var $helpPopup = $("#help_popup");
var html = [
'<div id="help_example_editor">PUT index/type/1',
'<div id="help_example_editor"># index a doc',
'PUT index/type/1',
'{',
' "body": "here"',
'}',
'',
'GET index/type/1',
'</div>'
'# and get it ... ',
'GET index/type/1</div>'
].join('\n');
$helpPopup.on('shown', function () {

View file

@ -11,13 +11,14 @@ define([
var $example;
var html = [
'<div id="welcome_example_editor">PUT index/type/1',
'<div id="welcome_example_editor"># index a doc',
'PUT index/type/1',
'{',
' "body": "here"',
'}',
'',
'GET index/type/1',
'</div>'
'# and get it ... ',
'GET index/type/1</div>'
].join('\n');
$welcomePopup.modal();