Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on Mar 19, 2013
@kriszyp bump version number 8e0e11e
@kriszyp Fixing the build by reverting the issue refs #19, as it breaks the Do…
…jo build since it doesn't properly use define.amd, fixes #20. Will fix #19 once Dojo build tool is fixed
d3cb8ca
Showing with 6 additions and 2 deletions.
  1. +4 −0 package.js
  2. +1 −1  package.json
  3. +1 −1  put.js
View
4 package.js
@@ -20,6 +20,10 @@ var profile = {
return isTestRe.test(filename) || mid in miniExcludes;
},
+ amd: function(filename, mid){
+ return isJsRe.test(filename) && !(mid in amdExcludes);
+ },
+
copyOnly: function(filename, mid){
return mid in copyOnly;
}
View
2  package.json
@@ -1,7 +1,7 @@
{
"name": "put-selector",
"author": "Kris Zyp",
- "version": "0.3.3",
+ "version": "0.3.4",
"description": "A high-performance, lightweight function for creating and manipulating DOM elements with succinct, elegant, familiar CSS selector-based syntax",
"licenses": [
{
View
2  put.js
@@ -213,7 +213,7 @@ define([], forDocument = function(doc, newFragmentFasterHeuristic){
});
})(function(id, deps, factory){
factory = factory || deps;
- if(typeof define === "function" && define.amd){
+ if(typeof define === "function"){
// AMD loader
define([], function(){
return factory();

No commit comments for this range

Something went wrong with that request. Please try again.