Advertisement
natdm

Vanilla

Sep 9th, 2015
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. Me:
  2. I like vanilla JS.
  3.  
  4.  
  5. Tue, 9:17 PM
  6. justin hyland (jhyland87@hotmail.com, jhyland87@gmail.com)
  7. https://gist.github.com/liamcurry/2597326
  8. hmmm
  9. lol, HOW
  10. looka t how much more code it is
  11. jesus fucking christ
  12. how freakin EASY jQuery is, and just as fast, if not faster
  13. Seriously, you have yet to provide a half way reason to not use jQuery, other than "duhhh… cuz" lol
  14.  
  15.  
  16. Me: • Tue, 9:19 PM
  17. JQuery is front-end. You can use it on the back-end, but not to the extreme, at all. There's no document.select, no http.request like jquery
  18. Tue, 9:19 PM
  19.  
  20.  
  21. justin hyland (jhyland87@hotmail.com, jhyland87@gmail.com)
  22. vanilla is a lot like normal boring js
  23.  
  24.  
  25. Me: • Tue, 9:19 PM
  26. I'd use 10% of the jquery.
  27. vanilla is boring JS
  28. That's the joke.
  29. Hold on
  30. Tue, 9:19 PM
  31.  
  32.  
  33. justin hyland (jhyland87@hotmail.com, jhyland87@gmail.com)
  34. oh, lol ok
  35. thought you were serious
  36.  
  37.  
  38. Me: • Tue, 9:19 PM
  39. http://vanilla-js.com/
  40.  
  41.  
  42. Tue, 9:19 PM
  43. justin hyland (jhyland87@hotmail.com, jhyland87@gmail.com)
  44. I was like WTF, LOOK AT ALL THAT SHIT YOU GOTTA TYPE
  45.  
  46.  
  47. Me: • Tue, 9:20 PM
  48. My coworker Ramsey sent that to me, saying, "This is the best JS library there is. Learn all about it.." "It's just.. normal JS" "Exactly."
  49.  
  50.  
  51. Tue, 9:20 PM
  52. justin hyland (jhyland87@hotmail.com, jhyland87@gmail.com)
  53. if I wanted to learn something other than jQuery, it would be either MooTools or ExtJS
  54. lol, so how is it a library
  55.  
  56.  
  57. Me: • Tue, 9:20 PM
  58. That. is. the. joke.
  59. lol
  60.  
  61.  
  62. Tue, 9:21 PM
  63. justin hyland (jhyland87@hotmail.com, jhyland87@gmail.com)
  64. is it a joke or something
  65. oh
  66. lame
  67. vanilla, as in boring, standard, i get it
  68.  
  69.  
  70. Me: • Tue, 9:21 PM
  71. First feature, "You don't even have to include vanilla JS! It's included in all JS versions!"
  72.  
  73.  
  74. Tue, 9:21 PM
  75. justin hyland (jhyland87@hotmail.com, jhyland87@gmail.com)
  76. It cant be a joke, you actually have to include a js file for it
  77.  
  78.  
  79. Me: • Tue, 9:21 PM
  80. that.. is.. still the joke.
  81.  
  82.  
  83. Tue, 9:21 PM
  84. justin hyland (jhyland87@hotmail.com, jhyland87@gmail.com)
  85. To use Vanilla JS, just put the following code anywhere in your application's HTML:
  86. 1. <script src="path/to/vanilla.js"></script>
  87.  
  88. Me: • Tue, 9:21 PM
  89. yes
  90. lol
  91. that'd be your normal javascript file
  92. with your normal javascript
  93.  
  94.  
  95. Tue, 9:21 PM
  96. justin hyland (jhyland87@hotmail.com, jhyland87@gmail.com)
  97. ohhh
  98. ok, i get it
  99. justin • Tue, 9:22 PM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement