Permalink
Browse files

sir trevor

  • Loading branch information...
mvdandrieux committed Jun 13, 2014
1 parent f85997d commit 551e7434450d12eace96b067738cfd6711f08156
View
@@ -3,7 +3,7 @@ Grand Central
Grand Central is a free, open source Clearly Magical Framework, with a unique write-less-do-more syntax.
It's content agnostic, so you can develop a social network of humans, a blog of reviews or a bike shop.
It's API-centered, so you can power a website, a mobile app or json services.
-It's pretty, so you want to use it.
+It's pretty, so you want to use it. And it's made for devs too: you can chain your PHP just like in jQuery!
It's social, so the content you're managing intertwines with the persons you're managing it with.
-It's user-abstract and event-based, so human can use it, but it also runs machine-to-machine businesses: you can let your phone communicate with your 3D printer.
-We are currently under development, but having as many eyeballs on the code helps us keeping it hi-quality.
+It's user-abstract and event-based, so human can use it, but it also runs machine-to-machine businesses: you can have it connect your phone with your 3D printer.
+*We are currently under development, but having as many eyeballs on the code helps us keeping it hi-quality.*
@@ -2224,23 +2224,6 @@
this.getTextBlock().html(SirTrevor.toHTML(data.text, this.type));
}
});
- /*
- HR Block
- */
- SirTrevor.Blocks.HR = SirTrevor.Block.extend({
-
- type: 'HR',
-
- title: function(){ return i18n.t('blocks:HR:title'); },
-
- editorHTML: '<div class="st-required st-text-block st-text-block--HR" contenteditable="true"></div>',
-
- icon_name: 'HR',
-
- loadData: function(data){
- this.getTextBlock().html(SirTrevor.toHTML(data.text, this.type));
- }
- });
/* Default Formatters */
/* Our base formatters */
(function(){
@@ -1,5 +1,23 @@
(function($)
{
+ /*
+ HR Block
+ */
+ SirTrevor.Blocks.HR = SirTrevor.Block.extend({
+
+ type: 'HR',
+
+ title: function(){ return i18n.t('blocks:HR:title'); },
+
+ editorHTML: '<div class="st-required st-text-block st-text-block--HR" contenteditable="true"></div>',
+
+ icon_name: 'HR',
+
+ loadData: function(data){
+ this.getTextBlock().html(SirTrevor.toHTML(data.text, this.type));
+ }
+ });
+
// Fetch all instances
var instances = $("[data-type=\'sirtrevor\'] textarea"),
i = instances.length, instance;

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 551e743

Please sign in to comment.