Skip to content

Commit

Permalink
Update aloha again
Browse files Browse the repository at this point in the history
Update aloha again
  • Loading branch information
srsgores authored and richtera committed Jan 5, 2013
1 parent ac1fbb8 commit b349d3b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
24 changes: 13 additions & 11 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
<script type = "text/javascript" src = "/lib/aloha.js"></script>
<!-- markItUp! skin -->
<script type = "text/javascript">

jQuery(document).ready(function ($)
Aloha.ready(function ()
{
var $textAreas = $("textarea.textarea");
if ($textAreas.length > 0) {
$.getScript(["/modules/downloaded/calipso-aloha-master/lib/require.js", "/modules/downloaded/calipso-aloha-master/lib/aloha.js"]);
$textAreas.aloha();
}
var $ = Aloha.jQuery;
// Add aloha to your textarea in one line
$('textarea.textarea').aloha();

});
</script>
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<link rel="stylesheet" type="text/css" href="css/aloha.css" />
<link rel="stylesheet" type="text/css" href="/css/aloha(1).css" />

0 comments on commit b349d3b

Please sign in to comment.