o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1314215819.1715283 R:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%5b11e2ae50becc02acffac3e72cef747I"logical_path;
FI"markitup/sets/html/set.js;
FI"
pathname;
FI"Y/home/mark/dev/personal/page_engine/app/assets/javascripts/markitup/sets/html/set.js;
FI"content_type;
FI"application/javascript;
FI"
mtime;
F"2011-08-21 16:56:22 +0100I" body;
FI"/
// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// ----------------------------------------------------------------------------
// Html tags
// http://en.wikipedia.org/wiki/html
// ----------------------------------------------------------------------------
// Basic set. Feel free to add more tags
// ----------------------------------------------------------------------------
markitup_html_settings = {
previewTemplatePath: '/assets/markitup/templates/preview.html',
onShiftEnter: {keepDefault:false, replaceWith:'
\n'},
onCtrlEnter: {keepDefault:false, openWith:'\n
', closeWith:'
\n'},
onTab: {keepDefault:false, openWith:' '},
markupSet: [
{name:'Heading 1', key:'1', openWith:'', closeWith:'
', placeHolder:'Your title here...' },
{name:'Heading 2', key:'2', openWith:'', closeWith:'
', placeHolder:'Your title here...' },
{name:'Heading 3', key:'3', openWith:'', closeWith:'
', placeHolder:'Your title here...' },
{name:'Heading 4', key:'4', openWith:'', closeWith:'
', placeHolder:'Your title here...' },
{name:'Heading 5', key:'5', openWith:'', closeWith:'
', placeHolder:'Your title here...' },
{name:'Heading 6', key:'6', openWith:'', closeWith:'
', placeHolder:'Your title here...' },
{name:'Paragraph', openWith:'', closeWith:'
' },
{separator:'---------------' },
{name:'Bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' },
{name:'Italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' },
{name:'Stroke through', key:'S', openWith:'', closeWith:'' },
{separator:'---------------' },
{name:'Ul', openWith:'\n' },
{name:'Ol', openWith:'\n', closeWith:'
\n' },
{name:'Li', openWith:'', closeWith:'' },
{separator:'---------------' },
{name:'Picture', key:'P', replaceWith:'' },
{name:'Link', key:'L', openWith:'', closeWith:'', placeHolder:'Your text to link...' },
{separator:'---------------' },
{name:'Clean', className:'clean', replaceWith:function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } },
{name:'Preview', className:'preview', call:'preview' },{ name:'Table generator',
className:'tablegenerator',
placeholder:"Your text here...",
replaceWith:function(markItUp) {
var cols = prompt("How many cols?"),
rows = prompt("How many rows?"),
html = "\n";
if (markItUp.altKey) {
html += " \n";
for (var c = 0; c < cols; c++) {
html += "! [![TH"+(c+1)+" text:]!]\n";
}
html+= "
\n";
}
for (var r = 0; r < rows; r++) {
html+= " \n";
for (var c = 0; c < cols; c++) {
html += " "+(markItUp.placeholder||"")+" | \n";
}
html+= "
\n";
}
html += "\n";
return html;
}
}
]
}
;
;
FI"asset_paths;
F[I"Y/home/mark/dev/personal/page_engine/app/assets/javascripts/markitup/sets/html/set.js;
FI"dependency_paths;
F[{I" path;
FI"Y/home/mark/dev/personal/page_engine/app/assets/javascripts/markitup/sets/html/set.js;
FI"
mtime;
FIu: Time
f
:@_zone"BST:
nano_numi{:
nano_deni:
submicro"0:offsetiI"hexdigest;
F"%46b73c21d7b11db3f12138ddba7f160bI"
_version;
F"%2ae678b00484ff298131f3f2a9ac84b1