-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python mode (aka text-paste) branch #187
base: master
Are you sure you want to change the base?
Conversation
Merge branch 'master' of https://github.com/droplet-editor/droplet into merge # Conflicts: # src/treewalk.coffee
@@ -112,6 +118,7 @@ exports.createTreewalkParser = (parse, config, root) -> | |||
color: @getColor node, rules | |||
classes: padRules(wrapRules ? rules).concat(@getShape(node, rules)) | |||
parseContext: rules[0] #(if wrap? then wrap.type else rules[0]) | |||
buttons: config.BUTTON_CALLBACK(@opts, node) ? null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks C mode right now. Can you either add an empty BUTTON_CALLBACK
to C mode, or make BUTTON_CALLBACK
optional by checking to see whether it exists before calling it?
Along with fixing the indent thing mentioned below, this should theoretically make the tests pass again.
Looks good aside from comments above. |
…/droplet into merge # Conflicts: # src/treewalk.coffee adapting python mode to the container-buttons branch (WIP?)
No description provided.