atom-ide-base
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -34,2 +34,2 @@ "use strict"; | ||
exports.ReactView = ReactView; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVhY3RWaWV3LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjLWNvbW1vbnMtdWkvZmxvYXQtcGFuZS9SZWFjdFZpZXcudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSw2Q0FBOEI7QUFhOUIsTUFBYSxTQUFVLFNBQVEsS0FBSyxDQUFDLFNBQXVCO0lBQzFELE1BQU07UUFDSixJQUFJLFFBQVEsR0FBRyxJQUFJLENBQUE7UUFDbkIsSUFBSSxJQUFJLENBQUMsS0FBSyxDQUFDLFNBQVMsRUFBRTtZQUN4QixRQUFRLEdBQUcsNkJBQUssU0FBUyxFQUFFLElBQUksQ0FBQyxLQUFLLENBQUMsZ0JBQWdCLElBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxTQUFTLEVBQUUsQ0FBTyxDQUFBO1NBQ3ZGO1FBRUQsT0FBTyw2QkFBSyxTQUFTLEVBQUUsSUFBSSxDQUFDLEtBQUssQ0FBQyxrQkFBa0IsSUFBRyxRQUFRLENBQU8sQ0FBQTtJQUN4RSxDQUFDO0NBQ0Y7QUFURCw4QkFTQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiXHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIFByb3BzIHtcclxuICBjb21wb25lbnQ6ICgpID0+IFJlYWN0LlJlYWN0RWxlbWVudFxyXG4gIGNvbnRhaW5lckNsYXNzTmFtZTogc3RyaW5nXHJcbiAgY29udGVudENsYXNzTmFtZTogc3RyaW5nXHJcbn1cclxuXHJcbmludGVyZmFjZSBTdGF0ZSB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SX.Element; | ||
onMouseWheel(evt: React.WheelEvent): void; | ||
componentDidMount(): Promise<void>; | ||
@@ -20,0 +21,0 @@ } |
@@ -35,3 +35,3 @@ "use strict"; | ||
render() { | ||
return (React.createElement("div", { className: this.props.containerClassName }, | ||
return (React.createElement("div", { className: this.props.containerClassName, onWheel: (e) => this.onMouseWheel(e) }, | ||
React.createElement("div", { className: this.props.contentClassName, dangerouslySetInnerHTML: { | ||
@@ -41,2 +41,5 @@ __html: this.state.snippet, | ||
} | ||
onMouseWheel(evt) { | ||
evt.stopPropagation(); | ||
} | ||
async componentDidMount() { | ||
@@ -50,3 +53,4 @@ var _a; | ||
exports.SnippetView = SnippetView; | ||
const regExpLSPPrefix = /^\((method|property|parameter|alias)\)\W/; | ||
const regexPremeable = /^\s*<(\?|!)([a-zA-Z]+)?\s*/i; | ||
const regexLSPPrefix = /^\((method|property|parameter|alias)\)\W/; | ||
async function getSnippetHtml(snippets, grammarName, renderer) { | ||
@@ -69,4 +73,4 @@ var _a, _b; | ||
const codeElem = document.createElement("code"); | ||
snippet = snippet.replace(/^\s*<(\?|!)([a-zA-Z]+)?\s*/i, ""); | ||
codeElem.innerText = snippet.replace(regExpLSPPrefix, ""); | ||
snippet = snippet.replace(regexPremeable, ""); | ||
codeElem.innerText = snippet.replace(regexLSPPrefix, ""); | ||
preElem.appendChild(codeElem); | ||
@@ -88,2 +92,2 @@ divElem.appendChild(preElem); | ||
exports.getSnippetHtml = getSnippetHtml; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU25pcHBldFZpZXcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMtY29tbW9ucy11aS9mbG9hdC1wYW5lL1NuaXBwZXRWaWV3LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsNkNBQThCO0FBQzlCLDBEQUFpQ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VtZW50LmNyZWF0ZUVsZW1lbnQoXCJwcmVcIilcclxuICAgICAgY29uc3QgY29kZUVsZW0gPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KFwiY29kZVwiKVxyXG4gICAgICBzbmlwcGV0ID0gc25pcHBldC5yZXBsYWNlKC9eXFxzKjwoXFw/fCEpKFthLXpBLVpdKyk/XFxzKi9pLCBcIlwiKSAvLyByZW1vdmUgYW55IHByZWFtYmxlIGZyb20gdGhlIGxpbmVcclxuICAgICAgY29kZUVsZW0uaW5uZXJUZXh0ID0gc25pcHBldC5yZXBsYWNlKHJlZ0V4cExTUFByZWZpeCwgXCJcIilcclxuICAgICAgcHJlRWxlbS5hcHBlbmRDaGlsZChjb2RlRWxlbSlcclxuICAgICAgZGl2RWxlbS5hcHBlbmRDaGlsZChwcmVFbGVtKVxyXG4gICAgfSlcclxuXHJcbiAgICBpZiAocmVuZGVyZXIpIHtcclxuICAgICAgcmV0dXJuIERPTVB1cmlmeS5zYW5pdGl6ZShhd2FpdCByZW5kZXJlci5yZW5kZXIoZGl2RWxlbS5vdXRlckhUTUwsIGdyYW1tYXJOYW1lKSlcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIC8vIFVzZSBidWlsdC1pbiBtYXJrZG93biByZW5kZXJlciAoaXQgYWxyZWFkeSBkb2VzIHNhbml0aXphdGlvbilcclxuICAgICAgY29uc3QgcmVuZGVyID0gYXdhaXQgZ2V0TWFya2Rvd25SZW5kZXJlcigpXHJcbiAgICAgIHJldHVybiByZW5kZXIoZGl2RWxlbS5vdXRlckhUTUwsIGdyYW1tYXJOYW1lKVxyXG4gICAgfVxyXG4gIH0gZWxzZSB7XHJcbiAgICByZXR1cm4gbnVsbFxyXG4gIH1cclxufVxyXG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU25pcHBldFZpZXcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMtY29tbW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aW5uZXJUZXh0ID0gc25pcHBldC5yZXBsYWNlKHJlZ2V4TFNQUHJlZml4LCBcIlwiKSAvLyByZW1vdmUgTFNQIHByZWZpeFxyXG4gICAgICBwcmVFbGVtLmFwcGVuZENoaWxkKGNvZGVFbGVtKVxyXG4gICAgICBkaXZFbGVtLmFwcGVuZENoaWxkKHByZUVsZW0pXHJcbiAgICB9KVxyXG5cclxuICAgIGlmIChyZW5kZXJlcikge1xyXG4gICAgICByZXR1cm4gRE9NUHVyaWZ5LnNhbml0aXplKGF3YWl0IHJlbmRlcmVyLnJlbmRlcihkaXZFbGVtLm91dGVySFRNTCwgZ3JhbW1hck5hbWUpKVxyXG4gICAgfSBlbHNlIHtcclxuICAgICAgLy8gVXNlIGJ1aWx0LWluIG1hcmtkb3duIHJlbmRlcmVyIChpdCBhbHJlYWR5IGRvZXMgc2FuaXRpemF0aW9uKVxyXG4gICAgICBjb25zdCByZW5kZXIgPSBhd2FpdCBnZXRNYXJrZG93blJlbmRlcmVyKClcclxuICAgICAgcmV0dXJuIHJlbmRlcihkaXZFbGVtLm91dGVySFRNTCwgZ3JhbW1hck5hbWUpXHJcbiAgICB9XHJcbiAgfSBlbHNlIHtcclxuICAgIHJldHVybiBudWxsXHJcbiAgfVxyXG59XHJcbiJdfQ== |
{ | ||
"name": "atom-ide-base", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"main": "package/main.js", | ||
@@ -5,0 +5,0 @@ "types": "./types-packages/main.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118211
1625