Labs/Bespin/DesignDocs/ConfigIntegration: Difference between revisions

m
no edit summary
(New page: ==== How can you integrate your own configuration with the Bespin editor? ==== When you login to Bespin you should see a project named "BespinSettings". This is your special project that ...)
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 37: Line 37:
E.g.
E.g.


   document.observe("bespin:editor:openfile:opensuccess", function(event) {
   document.observe("editor:openfile:opensuccess", function(event) {
     var file = event.memo.file;
     var file = event.memo.file;
    
    
Line 48: Line 48:


   // -- Load up custom commands
   // -- Load up custom commands
   publish("bespin:commands:load", { commandname: "calculate" });
   publish("command:load", { commandname: "calculate" });


=== Can I load up other files to keep processing? ===
=== Can I load up other files to keep processing? ===
355

edits