-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from Andrewglass1/master
adding andys jquery notes
- Loading branch information
Showing
1 changed file
with
16 additions
and
1 deletion.
There are no files selected for viewing
17 changes: 16 additions & 1 deletion
17
jquery_novice_to_ninja/individual_notes/andy_glass_jquery.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
https://github.com/Andrewglass1/feed_engine/blob/master/app/assets/javascripts/dashboard.js.coffee | ||
|
||
lines 108-129 | ||
|
||
This code adds points via an ajax request. It then sets off a method that fetches the points for that particular post. This was important based on the requirements for the project re: points. | ||
|
||
|
||
|
||
|
||
|
||
|
||
https://github.com/Andrewglass1/feed_engine/blob/master/app/assets/javascripts/handlers.js.coffee | ||
lines 42-53 | ||
|
||
|
||
this jquery implementation works to show a users current authentications on our page. | ||
|
||
It is slightly different than similar calls than similar methods in out app and uses a getJSON call to check what authentications the user has, and dynamically creates the page content based on this. | ||
It uses getJSON call to check what authentications the user has, and dynamically creates the hides/shows the page content based on this- allowing users to either delete or remove an authentication. |