Comparing version 0.0.4 to 0.0.5
@@ -189,2 +189,25 @@ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),(f.qj||(f.qj={})).js=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | ||
QJ.append = function(el, toAppend) { | ||
var e; | ||
if (el.length) { | ||
return (function() { | ||
var _i, _len, _results; | ||
_results = []; | ||
for (_i = 0, _len = el.length; _i < _len; _i++) { | ||
e = el[_i]; | ||
_results.push(QJ.append(e, toAppend)); | ||
} | ||
return _results; | ||
})(); | ||
} | ||
return el.insertAdjacentHTML('beforeend', toAppend); | ||
}; | ||
QJ.find = function(el, selector) { | ||
if (el.length) { | ||
el = el[0]; | ||
} | ||
return el.querySelectorAll(selector); | ||
}; | ||
QJ.trigger = function(el, name, data) { | ||
@@ -191,0 +214,0 @@ var e, ev; |
{ | ||
"name": "qj", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A minimal jQuery replacement used in Card and Payment.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97596
217