Skip to content

Commit

Permalink
Updating product code from dalap/cljsbuild transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed Nov 28, 2012
1 parent 920fe16 commit 28516ca
Show file tree
Hide file tree
Showing 10 changed files with 300 additions and 270 deletions.
126 changes: 63 additions & 63 deletions resources/js/dalap_core_browser_test.js
Expand Up @@ -388,13 +388,6 @@ goog.base = function(a, b, c) {
goog.scope = function(a) {
a.call(goog.global)
};
goog.debug = {};
goog.debug.Error = function(a) {
this.stack = Error().stack || "";
a && (this.message = "" + a)
};
goog.inherits(goog.debug.Error, Error);
goog.debug.Error.prototype.name = "CustomError";
goog.string = {};
goog.string.Unicode = {NBSP:"\u00a0"};
goog.string.startsWith = function(a, b) {
Expand Down Expand Up @@ -715,6 +708,13 @@ goog.string.toSelectorCaseCache_ = {};
goog.string.toSelectorCase = function(a) {
return goog.string.toSelectorCaseCache_[a] || (goog.string.toSelectorCaseCache_[a] = ("" + a).replace(/([A-Z])/g, "-$1").toLowerCase())
};
goog.debug = {};
goog.debug.Error = function(a) {
this.stack = Error().stack || "";
a && (this.message = "" + a)
};
goog.inherits(goog.debug.Error, Error);
goog.debug.Error.prototype.name = "CustomError";
goog.asserts = {};
goog.asserts.ENABLE_ASSERTS = goog.DEBUG;
goog.asserts.AssertionError = function(a, b) {
Expand Down Expand Up @@ -12695,6 +12695,62 @@ cljs.core.UUID.prototype.toString = function() {
return cljs.core.pr_str.call(null, this)
};
cljs.core.UUID;
var buster_cljs = {core:{}};
buster_cljs.core.cljs__GT_js = function cljs__GT_js(b) {
if(cljs.core.string_QMARK_.call(null, b)) {
return b
}
if(cljs.core.keyword_QMARK_.call(null, b)) {
return cljs.core.name.call(null, b)
}
if(cljs.core.map_QMARK_.call(null, b)) {
for(var c = {}, b = cljs.core.seq.call(null, b);;) {
if(b) {
var d = cljs.core.first.call(null, b), e = cljs.core.nth.call(null, d, 0, null), d = cljs.core.nth.call(null, d, 1, null);
c[cljs__GT_js.call(null, e)] = cljs__GT_js.call(null, d);
b = cljs.core.next.call(null, b)
}else {
break
}
}
return c
}
return cljs.core.coll_QMARK_.call(null, b) ? cljs.core.apply.call(null, cljs.core.array, cljs.core.map.call(null, cljs__GT_js, b)) : b
};
buster_cljs.core.is = function() {
var a = function(a, b) {
var e = cljs.core.nth.call(null, b, 0, null);
return buster.assert(a, e)
}, b = function(b, d) {
var e = null;
goog.isDef(d) && (e = cljs.core.array_seq(Array.prototype.slice.call(arguments, 1), 0));
return a.call(this, b, e)
};
b.cljs$lang$maxFixedArity = 1;
b.cljs$lang$applyTo = function(b) {
var d = cljs.core.first(b), b = cljs.core.rest(b);
return a(d, b)
};
b.cljs$lang$arity$variadic = a;
return b
}();
buster_cljs.core.is_equal = function() {
var a = function(a, b, e) {
e = cljs.core.nth.call(null, e, 0, null);
return buster.assert.equals(a, b, e)
}, b = function(b, d, e) {
var f = null;
goog.isDef(e) && (f = cljs.core.array_seq(Array.prototype.slice.call(arguments, 2), 0));
return a.call(this, b, d, f)
};
b.cljs$lang$maxFixedArity = 2;
b.cljs$lang$applyTo = function(b) {
var d = cljs.core.first(b), e = cljs.core.first(cljs.core.next(b)), b = cljs.core.rest(cljs.core.next(b));
return a(d, e, b)
};
b.cljs$lang$arity$variadic = a;
return b
}();
var dalap = {walk:{}};
dalap.walk.IWalkerState = {};
dalap.walk.get_state = function(a) {
Expand Down Expand Up @@ -12997,62 +13053,6 @@ dalap.rules._gen_rules_decorator = function(a) {
dalap.rules.gen_rules_visitor = function(a, b) {
return dalap.rules._gen_rules_decorator.call(null, a).call(null, b)
};
var buster_cljs = {core:{}};
buster_cljs.core.cljs__GT_js = function cljs__GT_js(b) {
if(cljs.core.string_QMARK_.call(null, b)) {
return b
}
if(cljs.core.keyword_QMARK_.call(null, b)) {
return cljs.core.name.call(null, b)
}
if(cljs.core.map_QMARK_.call(null, b)) {
for(var c = {}, b = cljs.core.seq.call(null, b);;) {
if(b) {
var d = cljs.core.first.call(null, b), e = cljs.core.nth.call(null, d, 0, null), d = cljs.core.nth.call(null, d, 1, null);
c[cljs__GT_js.call(null, e)] = cljs__GT_js.call(null, d);
b = cljs.core.next.call(null, b)
}else {
break
}
}
return c
}
return cljs.core.coll_QMARK_.call(null, b) ? cljs.core.apply.call(null, cljs.core.array, cljs.core.map.call(null, cljs__GT_js, b)) : b
};
buster_cljs.core.is = function() {
var a = function(a, b) {
var e = cljs.core.nth.call(null, b, 0, null);
return buster.assert(a, e)
}, b = function(b, d) {
var e = null;
goog.isDef(d) && (e = cljs.core.array_seq(Array.prototype.slice.call(arguments, 1), 0));
return a.call(this, b, e)
};
b.cljs$lang$maxFixedArity = 1;
b.cljs$lang$applyTo = function(b) {
var d = cljs.core.first(b), b = cljs.core.rest(b);
return a(d, b)
};
b.cljs$lang$arity$variadic = a;
return b
}();
buster_cljs.core.is_equal = function() {
var a = function(a, b, e) {
e = cljs.core.nth.call(null, e, 0, null);
return buster.assert.equals(a, b, e)
}, b = function(b, d, e) {
var f = null;
goog.isDef(e) && (f = cljs.core.array_seq(Array.prototype.slice.call(arguments, 2), 0));
return a.call(this, b, d, f)
};
b.cljs$lang$maxFixedArity = 2;
b.cljs$lang$applyTo = function(b) {
var d = cljs.core.first(b), e = cljs.core.first(cljs.core.next(b)), b = cljs.core.rest(cljs.core.next(b));
return a(d, e, b)
};
b.cljs$lang$arity$variadic = a;
return b
}();
dalap.test = {};
dalap.test.rules_test = {};
cljs.core.not_EQ_.call(null, "undefined", typeof exports) && (buster = require("buster"));
Expand Down

0 comments on commit 28516ca

Please sign in to comment.