• Design
  • Shotty
  • Blog
  • Reading
  • Photos
Menu

Jacob Ruiz

Product Designer
  • Design
  • Shotty
  • Blog
  • Reading
  • Photos
noConflict-part2@2x.png

Mastering Javascript Fundamentals: NoConflict (Part 2)

May 6, 2018

Get the fundamentals down and the level of everything you do will rise. - Michael Jordan

Continuing on day 4 of posting my notes on this this blog as I learn to master Javascript fundamentals one day at a time.

As stated in my original post, I do 1 hour of video lessons from Watch and Code every day. If you're interested in learning Javascript in a way that goes beyond basic tutorials and gives you a foundational, practical knowledge without relying on frameworks - I'd highly recommend it. If you're reading these posts, please keep in mind that these are just my notes, and I'm not an expert (yet!). If your goal is also to master the fundamentals of Javascript, please head over to Watch and Code and start your journey there!

All screenshots were annotated using Shotty.

noConflict (Part 2)

Today has been a lazy Sunday, so I've been more focused on completed the exercise than documenting it. The main idea of today's exercise is that we looked at the noConflict implementation in Accounting JS, and wrote a new version that was simpler.

Let's see how noConflict works in Accounting JS.

Screen Shot 2018-05-06 at 4.28.22 PM.png

In the console we can see that we can set window.accounting to it's original value, such as the string "The original accounting" in this example, and we can return the library so we can store it in a variable called accountingLibrary.

Screen Shot 2018-05-06 at 4.47.33 PM.png

That's it for today. Picking back up in full-force on Monday.

 

← Mastering Javascript Fundamentals: PrototypesMastering Javascript Fundamentals: noConflict (Part 1) →
shotty-skinny2x.jpg

Shotty - Faster Access To Your Screenshots on Mac

Shotty is an award-winning Mac app I created to give you instant access to all your recent screenshots, right from the menu bar. You can even add annotations on-the-fly. Stop wasting time digging through Finder for your screenshots. I promise it’ll change your workflow forever (just read the App Store reviews!).



Most popular

information-architecture

Information Architecture: The Most Important Part of Design You're Probably Overlooking

Follow @JacobRuizDesign