@@ -104,20 +104,20 @@ export default class ScriptView extends MessagePanelView {
104
104
}
105
105
106
106
createGitHubIssueLink ( argType , lang ) {
107
- const title = `Add ${ argType } support for ${ lang } ` ;
108
- const body = `##### Platform: \`${ process . platform } \`\n---\n` ;
109
- let encodedURI = encodeURI ( `https://github.com/rgbkrk/atom-script/issues/new?title=${ title } &body=${ body } ` ) ;
110
- // NOTE: Replace "#" after regular encoding so we don't double escape it.
111
- encodedURI = encodedURI . replace ( / # / g, '%23' ) ;
107
+ // const title = `Add ${argType} support for ${lang}`;
108
+ // const body = `##### Platform: \`${process.platform}\`\n---\n`;
109
+ // let encodedURI = encodeURI(`https://github.com/rgbkrk/atom-script/issues/new?title=${title}&body=${body}`);
110
+ // // NOTE: Replace "#" after regular encoding so we don't double escape it.
111
+ // encodedURI = encodedURI.replace(/#/g, '%23');
112
112
113
113
const err = $$ ( function ( ) {
114
114
this . p ( { class : 'block' } , `${ argType } runner not available for ${ lang } .` ) ;
115
- this . p ( { class : 'block' } , ( ) => {
116
- this . text ( 'If it should exist, add an ' ) ;
117
- this . a ( { href : encodedURI } , 'issue on GitHub' ) ;
118
- this . text ( ', or send your own pull request.' ) ;
119
- } ,
120
- ) ;
115
+ // this.p({ class: 'block' }, () => {
116
+ // this.text('If it should exist, add an ');
117
+ // this.a({ href: encodedURI }, 'issue on GitHub');
118
+ // this.text(', or send your own pull request.');
119
+ // },
120
+ // );
121
121
} ) ;
122
122
this . handleError ( err ) ;
123
123
}
0 commit comments