Skip to content

Commit

Permalink
updates commenting #1 #2 #3 #4
Browse files Browse the repository at this point in the history
  • Loading branch information
herereadthis committed Aug 2, 2014
1 parent 3b639f9 commit 5358e9c
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "greeneyes",
"version": "0.1.2",
"version": "0.1.3",
"authors": [
{
"name": "Jimmy Ha",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "greeneyes",
"version": "0.1.2",
"version": "0.1.3",
"description": "AMD Javascript library of utility modules made for RequireJS",
"main": "index.html",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions src/js/accordion_content.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Content Tabs
//
// This module will create a menu listing such that pressing any of the list
// items will expand to show more content
// https://github.com/herereadthis/greeneyes/blob/master/src/js/accordion.js
//
// You will want to use it for compressing a lot of content to only show what
// the user wants to read.

(function() {
define(['jquery'], function($) {
Expand Down
9 changes: 8 additions & 1 deletion src/js/analytics.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
// Google Analytics, defined as an AMD for RequireJS
//
// This module replaces the standard Google analytics plugin.
// https://github.com/herereadthis/greeneyes/blob/master/src/js/analytics.js
//
// The main advantage here is that you will get to remove inline JavaScript on
// your page. Note: Unlike the other Greeneyes modules, this one does not need
// a [data-module=""] attribute.

(function() {
define(function(require) {
define(['jquery'], function($) {
var $, exports;
$ = require("jquery");
exports = {
Expand Down
4 changes: 4 additions & 0 deletions src/js/content_tabs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// Content Tabs
//
// This module creates a box with a list of tabs at the top that will switch
// out the content below
// https://github.com/herereadthis/greeneyes/blob/master/src/js/content_tabs.js

(function() {
define(['jquery'], function($) {
Expand Down
4 changes: 4 additions & 0 deletions src/js/dropdown_menu.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// Drop Down Menu
//
// This module will create a nested menu where the child elements will be
// hidden by default and are toggled into view by clicking on the parent items.
// https://github.com/herereadthis/greeneyes/blob/master/src/js/dropdown_menu.js

(function() {
define(['jquery'], function($) {
Expand Down
6 changes: 6 additions & 0 deletions src/js/popover.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
// Content Tabs
//
// This module will create tiny modals that will appear adjacent to the item on
// which you click.
// https://github.com/herereadthis/greeneyes/blob/master/src/js/popover.js
//
// It is useful for displaying help text.

(function() {
define(['jquery'], function($) {
Expand Down

0 comments on commit 5358e9c

Please sign in to comment.