There are many ways to add external Javascript library dependencies to a project. The really old-fashioned I'm-just-starting-out way of doing it would be to actually go to the website and download a zip of all the files in the library. Then as you start learning more about Javascript you might realize that you can just add a script tag pointing to the CDN location for that library. For example, you could load in Angular and TweenMax by putting this in your html file:
0 Comments
Yep, this one is another AgnularJS fanboy posts. I originally learned this when it was mentioned as a side note in one of Lukas Rubelke's lectures link: (https://frontendmasters.com/courses/pulling-together/#v=j680h5kqqz). Someone asked, "Why is ng-click better than using JQuery (the .click() syntax) or plain vanilla javascript (addEventListener syntax)?". Lukas responded with a great point- In Angular you are not querying the DOM from the js code. Last night was event for the meetup "JS Sharefest". Here's the link to the event: http://www.meetup.com/hudson-county-javascript-meetup/events/228176942/ A Bar is a Nice Meetup Spot.Back when I worked at Hub City Media we used the "Atlassian Stack" a lot. I put that in parentheses because normally a technology stack refers to the front-end, server side, databases, etc. that work together to make an application function properly. Atlassian products are very different from this. There's Jira; a nice online task and bug tracking platform, Confluence; an internal wikipedia-ish documentation platform, and many other including HipChat.
After watching a very funny javascript video I was inspired to start omitting semicolons at the end of the lines in my code. At first it seemed weird, since in Java and other languages they are necessary for the compiler to function properly. This got me wondering, "how does the compiler know the statements should end if we don't use semicolons?". Welp, it turns out that the compiler does some magical thing called "automatic semicolon insertion", and the rules are quite complicated. If you want to read into it, here's a great link to the source that I a stack exchange poster noted in his answer.
|
AuthorThe posts on this site are written and maintained by Jim Lynch. About Jim...
Categories
All
Archives
March 2023
|