-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Sandboxed code examples #649
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
724e44c
add iframe component
shawnbot d43d827
move global prism styles out of _app
shawnbot 395cbe6
add CommonStyles and CommonScripts exports
shawnbot 0ffbad2
move prism styles, add frames to examples
shawnbot 19f8856
use CommonScripts and CommonStyles
shawnbot 48463bd
sort imports, comment out ERB transform
shawnbot 4814513
docs: tidy up rgb() guidance
shawnbot 209bef3
move prism-github import back to _app
shawnbot 3074c9e
fix: load static primer.css in production
shawnbot 411df2a
nix @zeit/next-css
shawnbot 05079b2
move prism-github import back
shawnbot a5b66d9
nix primer.css build from CommonStyles
shawnbot 6bb3df9
use <Head/> to get imported styles
shawnbot 51dbf9a
nix prebuild script
shawnbot 87aaf87
do css links the right way?
shawnbot d836921
nix DocumentContext
shawnbot 64ab348
don't use webpack to alias primer css in production
shawnbot 0e2b6a4
mark HTML principles examples as dead/inert
shawnbot a31da09
bump to @primer/components v8.2.0
shawnbot ae09f2a
pass document files context via <body data-files>
shawnbot 92b5f6a
tidy up markdown.js
shawnbot 85d6383
attempt to resize Frame components dynamically
shawnbot b147876
rework CodeExample structure a bit
shawnbot e41bfdd
bring back @zeit/next-css
shawnbot d93360b
try reusing @zeit/next-css loader directly
shawnbot b56cd2b
move redirect out or utils.js
shawnbot 20dd7c1
fix landing page meta-package styles
shawnbot 8898fa3
lint whitespace
shawnbot 78d0e46
lint pages/_document.js
shawnbot 5c653f0
lint
shawnbot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
lint
- Loading branch information
commit 5c653f08888608cffbfed9dd1661e7c499092cbb
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 is where we "read" the files list set by the Document component. It's serialized with
JSON.stringify(), so we should be able to parse it as JSON; if it's not set, we default to parsing the string"[]".