goodguide-gibbon 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ var P = (function(prototype, ownProperty, undefined) {
|
|
9
9
|
// have `.Bare`s)
|
10
10
|
function SuperclassBare() {}
|
11
11
|
|
12
|
-
function P(_superclass /* = Object */, definition) {
|
12
|
+
return function P(_superclass /* = Object */, definition) {
|
13
13
|
// handle the case where no superclass is given
|
14
14
|
if (definition === undefined) {
|
15
15
|
definition = _superclass;
|
@@ -40,7 +40,7 @@ var P = (function(prototype, ownProperty, undefined) {
|
|
40
40
|
|
41
41
|
// Set up the prototype of the new class.
|
42
42
|
var _super = SuperclassBare[prototype] = _superclass[prototype];
|
43
|
-
var proto = Bare[prototype] = C[prototype] = new SuperclassBare;
|
43
|
+
var proto = Bare[prototype] = C[prototype] = C.p = new SuperclassBare;
|
44
44
|
|
45
45
|
// other variables, as a minifier optimization
|
46
46
|
var extensions;
|
@@ -86,9 +86,6 @@ var P = (function(prototype, ownProperty, undefined) {
|
|
86
86
|
})(definition);
|
87
87
|
}
|
88
88
|
|
89
|
-
// ship it
|
90
|
-
return P;
|
91
|
-
|
92
89
|
// as a minifier optimization, we've closured in a few helper functions
|
93
90
|
// and the string 'prototype' (C[p] is much shorter than C.prototype)
|
94
91
|
})('prototype', ({}).hasOwnProperty);
|
@@ -1349,7 +1346,7 @@ stdlib = Gibbon.stdlib = (function() {
|
|
1349
1346
|
return evalBlock.map(function(block) {
|
1350
1347
|
var e, fn;
|
1351
1348
|
fn = block.fn;
|
1352
|
-
return Value.list(
|
1349
|
+
return Value.list((function() {
|
1353
1350
|
var _i, _len, _ref, _results;
|
1354
1351
|
_ref = list.elements;
|
1355
1352
|
_results = [];
|
@@ -1358,7 +1355,7 @@ stdlib = Gibbon.stdlib = (function() {
|
|
1358
1355
|
_results.push(fn(e));
|
1359
1356
|
}
|
1360
1357
|
return _results;
|
1361
|
-
})())
|
1358
|
+
})());
|
1362
1359
|
});
|
1363
1360
|
});
|
1364
1361
|
}
|
@@ -9,7 +9,7 @@ var P = (function(prototype, ownProperty, undefined) {
|
|
9
9
|
// have `.Bare`s)
|
10
10
|
function SuperclassBare() {}
|
11
11
|
|
12
|
-
function P(_superclass /* = Object */, definition) {
|
12
|
+
return function P(_superclass /* = Object */, definition) {
|
13
13
|
// handle the case where no superclass is given
|
14
14
|
if (definition === undefined) {
|
15
15
|
definition = _superclass;
|
@@ -40,7 +40,7 @@ var P = (function(prototype, ownProperty, undefined) {
|
|
40
40
|
|
41
41
|
// Set up the prototype of the new class.
|
42
42
|
var _super = SuperclassBare[prototype] = _superclass[prototype];
|
43
|
-
var proto = Bare[prototype] = C[prototype] = new SuperclassBare;
|
43
|
+
var proto = Bare[prototype] = C[prototype] = C.p = new SuperclassBare;
|
44
44
|
|
45
45
|
// other variables, as a minifier optimization
|
46
46
|
var extensions;
|
@@ -86,9 +86,6 @@ var P = (function(prototype, ownProperty, undefined) {
|
|
86
86
|
})(definition);
|
87
87
|
}
|
88
88
|
|
89
|
-
// ship it
|
90
|
-
return P;
|
91
|
-
|
92
89
|
// as a minifier optimization, we've closured in a few helper functions
|
93
90
|
// and the string 'prototype' (C[p] is much shorter than C.prototype)
|
94
91
|
})('prototype', ({}).hasOwnProperty);
|
@@ -1343,7 +1340,7 @@ stdlib = Gibbon.stdlib = (function() {
|
|
1343
1340
|
return evalBlock.map(function(block) {
|
1344
1341
|
var e, fn;
|
1345
1342
|
fn = block.fn;
|
1346
|
-
return Value.list(
|
1343
|
+
return Value.list((function() {
|
1347
1344
|
var _i, _len, _ref, _results;
|
1348
1345
|
_ref = list.elements;
|
1349
1346
|
_results = [];
|
@@ -1352,7 +1349,7 @@ stdlib = Gibbon.stdlib = (function() {
|
|
1352
1349
|
_results.push(fn(e));
|
1353
1350
|
}
|
1354
1351
|
return _results;
|
1355
|
-
})())
|
1352
|
+
})());
|
1356
1353
|
});
|
1357
1354
|
});
|
1358
1355
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: goodguide-gibbon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
type: :runtime
|