|
190 | 190 | if (e.keyCode == 9) { |
191 | 191 | e.preventDefault(); |
192 | 192 | var toAutocomplete = ''; |
193 | | - var ar_functionlist = Array('clear', 'cls', 'doge', 'dancer', 'help', 'planetarium', 'scrollTo', 'comicSans', 'helvetica', 'ieLove', 'weather', 'exit', 'lipsum', 'fbShare', 'twShare', 'latestTweets', 'likeasir', 'shades', 'reset', 'stl', 'newsletter', 'feedback'); |
| 193 | + var ar_functionlist = Array('clear', 'cls', 'doge', 'dancer', 'help', 'planetarium', 'scrollTo', 'comicSans', 'helvetica', 'ieLove', 'weather', 'exit', 'lipsum', 'fbShare', 'twShare', 'latestTweets', 'likeasir', 'shades', 'reset', 'stl', 'newsletter', 'feedback','git'); |
194 | 194 | var ar_terminal_lines = $("#onlineTerminal").html().split("\n"); |
195 | 195 | var lastline = ar_terminal_lines[ar_terminal_lines.length-1].toString().replace("\r", '').replace(String.fromCharCode('155'), '').trim(); |
196 | 196 | var ar_functionlist_length = ar_functionlist.length; |
|
332 | 332 | response += ', <strong>pyDocs()</strong>'; |
333 | 333 | response += ', <strong>newsletter()</strong>'; |
334 | 334 | response += ', <strong>feedback()</strong>'; |
| 335 | + response += ', <strong>git()</strong>' |
335 | 336 | response += ', <strong>ieLove()</strong>'; |
336 | 337 | // response += ', <strong>weather()</strong>'; |
337 | 338 | response += ' or any javascript will work.'+breakLine()+breakLine()+'For more info <strong>help(\'functionName\')</strong>. e.g. <strong>help(\'doge\')</strong>'; |
|
353 | 354 | if (customFunctionName == 'shades') response = 'See the world through the eyes of a douchebag.'; |
354 | 355 | if (customFunctionName == 'twShare') response = 'Share Codecell with you friends on Twitter.'; |
355 | 356 | if (customFunctionName == 'stl') response = 'Opens STL Reference material by Codecell team'; |
| 357 | + if (customFunctionName == 'git') response = 'Opens Git-Github Reference material by Codecell team'; |
356 | 358 | if (customFunctionName == 'pyDocs') response = 'Opens Python reference material by Codecell team'; |
357 | 359 | if (customFunctionName == 'newsletter') response = 'Opens our exquisitive newsletter, written only for you !'; |
358 | 360 | if (customFunctionName == 'feedback') response = 'Opens up the perfect place, to showcase your love for us !'; |
|
514 | 516 | function stl(){ |
515 | 517 | window.open("http://www.kjscecodecell.com/standard-library-in-x/"); |
516 | 518 | } |
| 519 | + |
| 520 | + function git(){ |
| 521 | + window.open("https://www.kjscecodecell.com/Git-CheatSheet/"); |
| 522 | + } |
517 | 523 | function pyDocs(){ |
518 | 524 | window.open("http://www.kjscecodecell.com/Introduction-to-programming/python/"); |
519 | 525 | } |
|
0 commit comments