Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Commit

Permalink
Bump the version
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Nov 11, 2013
1 parent fc5adae commit 20f2de8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions dist/ajaxInclude.js
@@ -1,4 +1,4 @@
/*! Ajax-Include - v0.1.2 - 2013-06-18
/*! Ajax-Include - v0.1.3 - 2013-11-11
* http://filamentgroup.com/lab/ajax_includes_modular_content/
* Copyright (c) 2013 @scottjehl, Filament Group, Inc.; Licensed MIT */

Expand Down Expand Up @@ -67,7 +67,7 @@
}

// loop through els, bind handlers
this.not( "[" + AI.boundAttr + "],[" + AI.interactionAttr + "]" ).each(function( k ) {
this.not( "[" + AI.boundAttr + "]").not("[" + AI.interactionAttr + "]" ).each(function( k ) {
var el = $( this ),
media = el.attr( "data-media" ),
methods = [ "append", "replace", "before", "after" ],
Expand Down
4 changes: 2 additions & 2 deletions dist/ajaxInclude.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/ajaxIncludePlugins.js
@@ -1,4 +1,4 @@
/*! Ajax-Include - v0.1.2 - 2013-06-18
/*! Ajax-Include - v0.1.3 - 2013-11-11
* http://filamentgroup.com/lab/ajax_includes_modular_content/
* Copyright (c) 2013 @scottjehl, Filament Group, Inc.; Licensed MIT */

Expand All @@ -7,7 +7,7 @@
var originalMakeReq = win.AjaxInclude.makeReq;

win.AjaxInclude.makeReq = function( url, els, isHijax ) {
if( isHijax && els[ 0 ].tagName.toLowerCase() === 'form' ) {
if( isHijax && els.length && els[ 0 ].tagName && els[ 0 ].tagName === 'FORM' ) {
if( $.prototype.serialize ) {
// If not post, default to get.
var method = ( els.attr( 'method' ) || '' ).toLowerCase() === 'post' ? 'post' : 'get',
Expand Down
4 changes: 2 additions & 2 deletions dist/ajaxIncludePlugins.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "ajaxInclude",
"title": "Ajax-Include",
"description": "An Ajax-Include Pattern for Modular Content",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "http://filamentgroup.com/lab/ajax_includes_modular_content/",
"author": {
"name": "@scottjehl, Filament Group, Inc.",
Expand Down

0 comments on commit 20f2de8

Please sign in to comment.