Permalink
Browse files

rebuild

  • Loading branch information...
rvagg committed Sep 22, 2012
1 parent 73aef20 commit 23028df41f0449f76326b865616285c4aabd7e6e
Showing with 7 additions and 10 deletions.
  1. +5 −8 bonzo.js
  2. +1 −1 bonzo.min.js
  3. +1 −1 package.json
View
@@ -49,7 +49,7 @@
, computedStyle: doc.defaultView && doc.defaultView.getComputedStyle
, cssFloat: e[byTag]('table')[0].style.styleFloat ? 'styleFloat' : 'cssFloat'
, transform: function () {
- var props = ['webkitTransform', 'MozTransform', 'OTransform', 'msTransform', 'Transform'], i
+ var props = ['transform', 'webkitTransform', 'MozTransform', 'OTransform', 'msTransform'], i
for (i = 0; i < props.length; i++) {
if (props[i] in e.style) return props[i]
}
@@ -196,7 +196,7 @@
*/
function styleProperty(p) {
(p == 'transform' && (p = features.transform)) ||
- (/^transform-?[Oo]rigin$/.test(p) && (p = features.transform + "Origin")) ||
+ (/^transform-?[Oo]rigin$/.test(p) && (p = features.transform + 'Origin')) ||
(p == 'float' && (p = features.cssFloat))
return p ? camelize(p) : null
}
@@ -536,14 +536,11 @@
/**
* @param {Bonzo|string|Element|Array} node
- * @param {Object=} opt_host an optional host scope (primarily used when integrated with Ender)
* @return {Bonzo}
*/
- , replaceWith: function (node, opt_host) {
- var ret = bonzo(normalize(node)).insertAfter(this, opt_host)
- this.remove()
- Bonzo.call(opt_host || this, ret)
- return opt_host || this
+ , replaceWith: function (node) {
+ bonzo(normalize(node)).insertAfter(this)
+ return this.remove()
}
// class management
Oops, something went wrong.

0 comments on commit 23028df

Please sign in to comment.