Create interactive coding tutorials inside of the Atom Editor.
coderoad / builder-coderoad-deprecated Goto Github PK
View Code? Open in Web Editor NEWTutorial Builder for Atom CodeRoad (WIP)
License: Apache License 2.0
Tutorial Builder for Atom CodeRoad (WIP)
License: Apache License 2.0
Create interactive coding tutorials inside of the Atom Editor.
Steps to reproduce:
Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: builder-coderoad package, v0.1.0
Uncaught TypeError: this.props.editorMarkdownOpen is not a function
At /Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/ReactErrorUtils.js:52
TypeError: this.props.editorMarkdownOpen is not a function
at TopPanel.selectPage (/Users/mikenikles/.atom/packages/builder-coderoad/lib/components/TopPanel/TopPanel.js:45:20)
at EnhancedButton._this.handleClick (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/material-ui/internal/EnhancedButton.js:121:21)
at Object.invokeGuardedCallback (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/ReactErrorUtils.js:26:12)
at executeDispatch (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/EventPluginUtils.js:87:21)
at Object.executeDispatchesInOrder (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/EventPluginUtils.js:110:5)
at executeDispatchesAndRelease (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/EventPluginHub.js:42:22)
at executeDispatchesAndReleaseTopLevel (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/EventPluginHub.js:53:10)
at Array.forEach (native)
at forEachAccumulated (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/forEachAccumulated.js:24:9)
at Object.EventPluginHub.processEventQueue (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/EventPluginHub.js:215:7)
at runEventQueueInBatch (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/ReactEventEmitterMixin.js:18:18)
at Object.ReactEventEmitterMixin.handleTopLevel [as _handleTopLevel] (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/ReactEventEmitterMixin.js:29:5)
at handleTopLevelImpl (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/ReactEventListener.js:73:24)
at ReactDefaultBatchingStrategyTransaction.Mixin.perform (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/Transaction.js:136:20)
at Object.ReactDefaultBatchingStrategy.batchedUpdates (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/ReactDefaultBatchingStrategy.js:63:19)
at Object.batchedUpdates (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/ReactUpdates.js:98:20)
at ReactEventListener.dispatchEvent (/Users/mikenikles/.atom/packages/builder-coderoad/node_modules/react/lib/ReactEventListener.js:150:20)
-4:43.2.0 cb-viewer:toggle (atom-text-editor.editor.is-focused)
-3:39.4.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
-1:55.5.0 cb-viewer:toggle (atom-pane.pane.active)
-1:43 core:save (atom-text-editor.editor.is-focused)
2x -1:38.8.0 core:backspace (atom-text-editor.editor.is-focused)
2x -1:37.8.0 core:save (atom-text-editor.editor.is-focused)
-0:50.2.0 core:backspace (atom-text-editor.editor.is-focused)
-0:49.7.0 core:save (atom-text-editor.editor.is-focused)
2x -0:48.9.0 core:backspace (atom-text-editor.editor.is-focused)
2x -0:45.6.0 core:save (atom-text-editor.editor.is-focused)
3x -0:42.6.0 core:move-down (atom-text-editor.editor.is-focused)
-0:40.2.0 core:save (atom-text-editor.editor.is-focused)
6x -0:39.2.0 core:undo (atom-text-editor.editor.is-focused)
-0:36.6.0 core:save (atom-text-editor.editor.is-focused)
-0:23.3.0 core:close (atom-text-editor.editor.is-focused)
2x -0:22 cb-viewer:toggle (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
{
"core": {
"disabledPackages": [
"linter-eslint"
]
}
}
# User
atom-beautify, v0.29.8
atom-typescript, v8.11.0
builder-coderoad, v0.1.0
color-picker, v2.1.1
highlight-selected, v0.11.2
linter, v1.11.11
merge-conflicts, v1.4.4
react, v0.15.0
terminal-plus, v0.14.5
# Dev
No dev packages
Hi! Thanks for maintaining the builder-coderoad package!
In Atom v1.19, we will release a major change to Atom's core text buffer data structure. As part of this change, we have made TextBuffer.save
asynchronous; rather than blocking until the save is complete, it now immediately returns a Promise
that resolves when the save is complete. Because of this, a few other Atom APIs that use save
have similarly become async:
Pane.close
TextBuffer.save
TextEditor.save
Pane.saveItem
Pane.saveItemAs
Pane.saveActiveItem
Pane.saveActiveItemAs
Pane.saveItems
Workspace.saveActivePaneItem
Workspace.saveActivePaneItemAs
We think this package could be impacted by this upgrade because it calls the changed methods in the following places:
We found these calls using a regex search, so this list might be incomplete, and it might contain some false positives.
It should be pretty easy to adjust your package code and/or tests to work with the new async behavior, and to simultaneously keep it working with older versions of Atom. Here are some examples of pull requests we opened on our bundled packages to cope with the change:
Please let me know if you have any questions. I'd be happy to help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.