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
| rules = [] | |
| ruleRegExp = /\.markdown-preview/ | |
| for stylesheet in document.styleSheets | |
| if stylesheet.rules? | |
| for rule in stylesheet.rules | |
| if rule.selectorText?.match(ruleRegExp)? | |
| rules.push(rule.cssText) | |
| console.log rules.join('\n') |
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
| class StyleguideItemElement extends HTMLElement | |
| createdCallback: -> | |
| console.log 'here' | |
| @shadowRoot = @createShadowRoot() | |
| @contentContainer = document.createElement('div') | |
| content = document.createElement('content') | |
| content.setAttribute('select', '*') | |
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
| atom.commands.add 'atom-text-editor', | |
| 'editor:scroll-down': -> | |
| editor = atom.workspace.getActiveTextEditor() | |
| editorElement = atom.views.getView(editor) | |
| newScrollTop = editorElement.getScrollTop() + editorElement.getHeight() | |
| editorElement.setScrollTop(newScrollTop) | |
| 'editor:scroll-up': -> | |
| editor = atom.workspace.getActiveTextEditor() | |
| editorElement = atom.views.getView(editor) |
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
| Process: Atom [1123] | |
| Path: /Users/USER/Desktop/EktatekDesktopClient.app/Contents/MacOS/Atom | |
| Identifier: com.github.atom-shell | |
| Version: 0.20.5 | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: Atom [1123] | |
| User ID: 501 | |
| Date/Time: 2015-01-21 17:41:13.334 +0100 |
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
| { | |
| "name": "project-palette-finder", | |
| "main": "./lib/project-palette-finder", | |
| "version": "2.4.2", | |
| "description": "Finds and archive colors defined in a project's less/sass/stylus files", | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/abe33/atom-project-palette-finder" | |
| }, | |
| "license": "MIT", |
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
| atom.packages.requirePackages = (packages...) -> | |
| new Promise (resolve, reject) -> | |
| required = [] | |
| promises = [] | |
| failures = [] | |
| remains = packages.length | |
| solved = -> | |
| remains-- |
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
| atom.workspaceView | |
| .find('.deprecation').hide() | |
| .find('.list .list-item:not(:first-child)').hide() | |
| .find('.stack-line-location[href*="<filter-expression>"]') | |
| .parents('.list .list-item').show() | |
| .parents('.deprecation').show() |
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
| # Creates a collection class for the given model. This class | |
| # will be decorated with the scopes defined on the model class. | |
| build_collection_class = (model) -> | |
| # The Collection class behaves mostly like an array except that | |
| # every methods that should return an array return a collection | |
| # instead. | |
| class Collection | |
| @model: model | |
| # We can't use `new Collection` because Collection's instances |
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
| 0 info it worked if it ends with ok | |
| 1 verbose cli [ '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node', | |
| 1 verbose cli '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js', | |
| 1 verbose cli '--globalconfig', | |
| 1 verbose cli '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc', | |
| 1 verbose cli '--userconfig', | |
| 1 verbose cli '/Users/cedric/.atom/.apmrc', | |
| 1 verbose cli 'install', | |
| 1 verbose cli '--target=0.11.10', | |
| 1 verbose cli '--arch=x64' ] |
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
| Firefox: | |
| navigator.appCodeName : Mozilla | |
| navigator.vendor: "" | |
| navigator.product: Gecko | |
| Safari: | |
| navigator.appCodeName : Mozilla | |
| navigator.vendor: Apple Computer, Inc. | |
| navigator.product: Gecko |