Put this into the server's .htaccess file (assuming that it's an Apache):
<IfModule mod_headers.c>
<FilesMatch "\.css$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
<IfModule mod_headers.c> | |
# Set IE to render page as if it were an IE 7 | |
Header set X-UA-Compatible "IE=7" | |
</IfModule> |
Put this into the server's .htaccess file (assuming that it's an Apache):
<IfModule mod_headers.c>
<FilesMatch "\.css$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
tinyMCE.init({ | |
mode : "exact", | |
theme : "advanced", | |
language : "de", | |
valid_elements : "p,em/i,strong/b,br,strike,u,ul,ol,li", | |
theme_advanced_buttons1 : "undo,redo,bold,italic,underline,strikethrough,bullist,numlist,outdent,indent,code", | |
theme_advanced_buttons2 : "", | |
theme_advanced_buttons3 : "", | |
apply_source_formatting : true, | |
entity_encoding : "named", |
javascript:prompt('Copy this:',location.href.replace(/\./g,"\u200b."));return false; |
prefetch supported: yes | |
parallel prefetch requests: 9 | |
prefetch canceled on page transition: yes | |
prefetch delayed until after onload: no | |
prefetch lower priority than images: no | |
prefetch link seen by preloader: no | |
dns-prefetch supported: not tested | |
prerender supported: no | |
prerender JS executed twice: no |
A lot of the CSS properties were imported from Mozilla'S MDN or Microsoft's MSDN. Therefore the strcuture of the pages does not follow the structure requested by the Webplatform.org CSS Property guide. We should update them. Those are the properties in question:
#Talks
##Jeremy Keith
(function($){ | |
var selectorMain = '.richtext,.ckeditor', | |
eventNamespace = 'richtext', | |
cssRootfolder = './../../css/', // Will probably change in production | |
// Andi, das nachfolgende ist neu: | |
stylesets = { | |
standard: [ | |
{ | |
name: 'Link intern', |
Mike ist 33, gebürtiger Berliner, wohnt noch in Lübeck, bald wieder Berlin. Anfangs in der berliner Startup-Szene unterwegs gewesen, dann drei Jahre bei Xing in Hamburg gearbeitet. Seit zwei Jahren bei Github.
Mike ist eigentlich Sysop, also Administrator. Bei Xing für mehrere hundert Server zuständig. Später dann immer mehr in Richtung DevOps gewandert, was er jetzt macht.
Erst 5 Jahre als Barkeeper gearbeitet, dann Ausbildung zum Fachinformatiker.
Nach den drei Jahren bei Xing war er wieder auf der Suche nach was Neuem und hat einen Tweet von Github bzgl. Enterprise Support Europe gesehen und angeklickt und hat sich darauf beworben.
Das Ganze hat mit einer einfachen E-Mail angefangen, in der Mike schrieb was er gerade tut, wieso er sich bewerbe. Dann kam eine positive Antwort von Github, die 10 "Screening Fragen" beigefügt haben, also Aufgaben zum knacken. Und damit war er dann an einem Wochenende 10 - 15 Stunden beschäftigt. Das wird auch heute noch so bei Github praktiziert. Daraufhin kam es zu einem
use branch "gh-pages", make it default, and delete master. gh-pages' content will automatically be deployed to https://pixolith.github.io/fabricjs-customise-controls-extension/
after push. That way you can have your examples hosted on Github, too.
Nicer API: Combine overwriteActions
and setCustomActions
into one. As setCustomActions
needs overwriteActions
anyways and overwriteActions
doesn't make sense on its own. -> One call less to write.
Even nicer API: Change setCustomActions
to accept an object. That way you can pass one or more pieces of configuration at once, instead of needing to call the method over and over again:
fabric.Canvas.prototype.setCustomActions({
tl: 'rotate',
tr: 'scale'