Skip to content

Commit 32e02dd

Browse files
committed
Added attribution for jQuery Fundamentals, closes #151
1 parent 06f9c59 commit 32e02dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+165
-4
lines changed

page/ajax/ajax-and-forms.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Ajax and Forms
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
jQuery’s ajax capabilities can be especially useful when dealing with forms. There are several advantages, which can range from serialization, to simple client-side validation (e.g. "Sorry, that username is taken"), to [prefilters](http://api.jquery.com/extending-ajax/#Prefilters) (explained below), and even more!

page/ajax/ajax-events.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Ajax Events
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
Often, you’ll want to perform an operation whenever an Ajax requests starts or
69
stops, such as showing or hiding a loading indicator. Rather than defining

page/ajax/ajax-excercises.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Exercises
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
### Load External Content
69

page/ajax/jquery-ajax-methods.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : jQuery's Ajax-Related Methods
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
While jQuery does offer many Ajax-related convenience methods, the core
69
`$.ajax` method is at the heart of all of them, and understanding it is

page/ajax/key-concepts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Key Concepts
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
Proper use of Ajax-related jQuery methods requires understanding some key
69
concepts first.

page/ajax/working-with-jsonp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Working with JSONP
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
The advent of JSONP — essentially a consensual cross-site scripting hack — has
69
opened the door to powerful mashups of content. Many prominent sites provide

page/code-organization/beware-anonymous-functions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Beware Anonymous Functions
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
Anonymous functions bound everywhere are a pain. They're difficult to debug,

page/code-organization/concepts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Code Organization Concepts
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
When you move beyond adding simple enhancements to your website with jQuery and

page/code-organization/dont-repeat-yourself.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Keep Things DRY
33
level: beginner
4+
attribution:
5+
source: http://jqfundamentals.com/legacy
6+
- jQuery Fundamentals
47
---
58
Don't repeat yourself; if you're repeating yourself, you're doing it wrong.
69

page/effects/built-in-effects.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Built-in Effects
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
Frequently used effects are built into jQuery as methods:
69

page/effects/custom-effects.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Custom Effects with $.fn.animate
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
jQuery makes it possible to animate arbitrary CSS properties via the
69
`$.fn.animate` method. The `$.fn.animate` method lets you animate to a set

page/effects/effects-exercises.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Effect Exercises
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
### Reveal Hidden Text
69

page/effects/managing-effects.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Managing Effects
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
## Managing Effects
69

page/events/event-delegation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title : Understanding Event Delegation
3-
attribution: jQuery Fundamentals
3+
source: http://jqfundamentals.com/legacy
4+
attribution:
5+
- jQuery Fundamentals
46
---
57

68
Say you have to add new line items to your page, given the following HTML:

page/events/event-exercises.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Exercises
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
###Create an Input Hint
69

page/events/event-helpers.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Event Helpers
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
jQuery offers two event-related helper functions that save you a few keystrokes.
69

page/events/events-to-elements.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
title : Handling Events
3-
attribution: David Mazza, jQuery Fundementals
43
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
57
---
68
jQuery provides a method `.on()` to
79
respond to any event on the selected elements. This is called an _event binding_.

page/events/inside-event-handling-function.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Inside the Event Handling Function
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
Every event handling function receives an event object, which contains many
69
properties and methods. The event object is most commonly used to prevent the

page/events/introduction-to-custom-events.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Introducing Custom Events
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
## Custom Events
69

page/events/introduction-to-events.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Introducing Events
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
## Introduction

page/events/triggering-event-handlers.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title : Triggering Event Handlers
33
level: intermediate
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
#### Triggering Events
69
jQuery provides a way to trigger the event handlers bound to an element without any user interaction via the `$.fn.trigger` method.

page/javascript-101.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
title : JavaScript 101
33
level: beginner
4-
attribution: jQuery Fundamentals
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
57
---
68

79
##Introduction

page/javascript-101/arrays.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Arrays
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
Arrays are zero-indexed, ordered lists of values. They are a handy way to store a set of
69
related items of the same type (such as strings), though in reality, an array

page/javascript-101/closures.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Closures
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
Closures are an extension of the concept of scope -- functions have access to

page/javascript-101/conditional-code.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Conditional Code
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
Sometimes you only want to run a block of code under certain conditions. Flow control — via if and else blocks — lets you run code only under certain conditions.
69

page/javascript-101/functions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Functions
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
Functions contain blocks of code that need to be executed repeatedly. Functions

page/javascript-101/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
title: Getting Started
33
level: Beginner
4-
attribution: Adam Lehman (adrocknaphobia)
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
57
---
68

79
##Anatomy of a Web Page

page/javascript-101/loops.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Loops
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
Loops let you run a block of code a certain number of times.
69

page/javascript-101/objects.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Objects
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
Objects contain one or more key-value pairs. The key portion can be any string.
69
The value portion can be any type of value: a number, a string, an array, a

page/javascript-101/operators.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Operators
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
Basic operators allow you to manipulate values.
69

page/javascript-101/reserved-words.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Reserved Words
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58
JavaScript has a number of “reserved words,” or words that have special meaning in the language. You should avoid using these words in your code except when using them with their intended meaning.
69

page/javascript-101/running-code.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Running Code
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
### External

page/javascript-101/scope.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Scope
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
"Scope" refers to the variables that are available to a piece of code at a

page/javascript-101/syntax-basics.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Syntax Basics
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
### Comments

page/javascript-101/testing-type.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Testing Type
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
JavaScript offers a way to test the "type" of a variable. However, the result

page/javascript-101/this-keyword.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: The "this" Keyword
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
In JavaScript, as in most object-oriented programming languages, `this` is a

page/javascript-101/types.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Types
33
level: beginner
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
The types in JavaScript fall into two categories; primitives and objects. The primitive types include:

page/performance/append-outside-loop.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Append Outside of Loops
33
level: intermediate
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
Touching the DOM comes at a cost; if you're appending a lot of elements to the

page/performance/cache-loop-length.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Cache Length During Loops
33
level: intermediate
4+
source: http://jqfundamentals.com/legacy
5+
attribution:
6+
- jQuery Fundamentals
47
---
58

69
In a for loop, don't access the length property of an array every time; cache

0 commit comments

Comments
 (0)