react-source 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/build/JSXTransformer.js +259 -189
- data/build/react-with-addons.js +1595 -848
- data/build/react-with-addons.min.js +5 -5
- data/build/react.js +1358 -774
- data/build/react.min.js +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzgyNTY2NzEyMTliMTFjNzAxMWIwYzVlNDNkZjRlMWMyMGIxOGViYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjM5ZjI4MTk0M2ZmNGE2MTc3NjVlM2M5YjdlZDVmZDVjZmVmN2Y2Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2I0OTk5YzU0OTIxMmYyZjQwYzJjNWVhZTU3M2UyMTNkZTdmOWEzNDMxMjll
|
10
|
+
NzFiMGIwODI5MmIxNWEwN2I0MDk2MWI3NDg4MDVhYjAyMjI4MzFmYzllMmI5
|
11
|
+
MDM5YjVlM2I1NjU0MzE0N2E5NzZmNDM5YTI4OGUyMWRmYzM4ZjU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjQzNmE1ZjlmYmU2MGI4ZmY4YzNmYTc3YTc2YWYwNzEwYjI4ZDcxYWQwMjcz
|
14
|
+
NzAyNDMxMGE5NGY0NWQ2N2E1NjM5ZDNlOGRlNzc1NmI3M2U3OGRhYzA4NWVh
|
15
|
+
OTFmNmIyNmI1MzY0MGYyNDM0OGM0NzFkYzllODYwOWY1YTQ0YzQ=
|
data/build/JSXTransformer.js
CHANGED
@@ -1,64 +1,18 @@
|
|
1
1
|
/**
|
2
|
-
* JSXTransformer v0.
|
2
|
+
* JSXTransformer v0.10.0
|
3
|
+
*/
|
4
|
+
!function(e){if("object"==typeof exports)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.JSXTransformer=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){
|
5
|
+
/**
|
6
|
+
* The buffer module from node.js, for the browser.
|
7
|
+
*
|
8
|
+
* Author: Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
9
|
+
* License: MIT
|
10
|
+
*
|
11
|
+
* `npm install buffer`
|
3
12
|
*/
|
4
|
-
!function(e){if("object"==typeof exports)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.JSXTransformer=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(require,module,exports){
|
5
|
-
// shim for using process in browser
|
6
|
-
|
7
|
-
var process = module.exports = {};
|
8
|
-
|
9
|
-
process.nextTick = (function () {
|
10
|
-
var canSetImmediate = typeof window !== 'undefined'
|
11
|
-
&& window.setImmediate;
|
12
|
-
var canPost = typeof window !== 'undefined'
|
13
|
-
&& window.postMessage && window.addEventListener
|
14
|
-
;
|
15
|
-
|
16
|
-
if (canSetImmediate) {
|
17
|
-
return function (f) { return window.setImmediate(f) };
|
18
|
-
}
|
19
|
-
|
20
|
-
if (canPost) {
|
21
|
-
var queue = [];
|
22
|
-
window.addEventListener('message', function (ev) {
|
23
|
-
var source = ev.source;
|
24
|
-
if ((source === window || source === null) && ev.data === 'process-tick') {
|
25
|
-
ev.stopPropagation();
|
26
|
-
if (queue.length > 0) {
|
27
|
-
var fn = queue.shift();
|
28
|
-
fn();
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}, true);
|
32
|
-
|
33
|
-
return function nextTick(fn) {
|
34
|
-
queue.push(fn);
|
35
|
-
window.postMessage('process-tick', '*');
|
36
|
-
};
|
37
|
-
}
|
38
|
-
|
39
|
-
return function nextTick(fn) {
|
40
|
-
setTimeout(fn, 0);
|
41
|
-
};
|
42
|
-
})();
|
43
|
-
|
44
|
-
process.title = 'browser';
|
45
|
-
process.browser = true;
|
46
|
-
process.env = {};
|
47
|
-
process.argv = [];
|
48
|
-
|
49
|
-
process.binding = function (name) {
|
50
|
-
throw new Error('process.binding is not supported');
|
51
|
-
}
|
52
|
-
|
53
|
-
// TODO(shtylman)
|
54
|
-
process.cwd = function () { return '/' };
|
55
|
-
process.chdir = function (dir) {
|
56
|
-
throw new Error('process.chdir is not supported');
|
57
|
-
};
|
58
13
|
|
59
|
-
|
60
|
-
var
|
61
|
-
var ieee754 = require('ieee754')
|
14
|
+
var base64 = _dereq_('base64-js')
|
15
|
+
var ieee754 = _dereq_('ieee754')
|
62
16
|
|
63
17
|
exports.Buffer = Buffer
|
64
18
|
exports.SlowBuffer = Buffer
|
@@ -73,13 +27,13 @@ Buffer.poolSize = 8192
|
|
73
27
|
Buffer._useTypedArrays = (function () {
|
74
28
|
// Detect if browser supports Typed Arrays. Supported browsers are IE 10+,
|
75
29
|
// Firefox 4+, Chrome 7+, Safari 5.1+, Opera 11.6+, iOS 4.2+.
|
76
|
-
|
77
|
-
|
30
|
+
if (typeof Uint8Array !== 'function' || typeof ArrayBuffer !== 'function')
|
31
|
+
return false
|
78
32
|
|
79
33
|
// Does the browser support adding properties to `Uint8Array` instances? If
|
80
34
|
// not, then that's the same as no `Uint8Array` support. We need to be able to
|
81
35
|
// add all the node Buffer API methods.
|
82
|
-
//
|
36
|
+
// Bug in Firefox 4-29, now fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=695438
|
83
37
|
try {
|
84
38
|
var arr = new Uint8Array(0)
|
85
39
|
arr.foo = function () { return 42 }
|
@@ -301,6 +255,12 @@ function _base64Write (buf, string, offset, length) {
|
|
301
255
|
return charsWritten
|
302
256
|
}
|
303
257
|
|
258
|
+
function _utf16leWrite (buf, string, offset, length) {
|
259
|
+
var charsWritten = Buffer._charsWritten =
|
260
|
+
blitBuffer(utf16leToBytes(string), buf, offset, length)
|
261
|
+
return charsWritten
|
262
|
+
}
|
263
|
+
|
304
264
|
Buffer.prototype.write = function (string, offset, length, encoding) {
|
305
265
|
// Support both (string, offset, length, encoding)
|
306
266
|
// and the legacy (string, encoding, offset, length)
|
@@ -328,25 +288,34 @@ Buffer.prototype.write = function (string, offset, length, encoding) {
|
|
328
288
|
}
|
329
289
|
encoding = String(encoding || 'utf8').toLowerCase()
|
330
290
|
|
291
|
+
var ret
|
331
292
|
switch (encoding) {
|
332
293
|
case 'hex':
|
333
|
-
|
294
|
+
ret = _hexWrite(this, string, offset, length)
|
295
|
+
break
|
334
296
|
case 'utf8':
|
335
297
|
case 'utf-8':
|
336
|
-
|
337
|
-
|
338
|
-
case 'utf16le':
|
339
|
-
case 'utf-16le':
|
340
|
-
return _utf8Write(this, string, offset, length)
|
298
|
+
ret = _utf8Write(this, string, offset, length)
|
299
|
+
break
|
341
300
|
case 'ascii':
|
342
|
-
|
301
|
+
ret = _asciiWrite(this, string, offset, length)
|
302
|
+
break
|
343
303
|
case 'binary':
|
344
|
-
|
304
|
+
ret = _binaryWrite(this, string, offset, length)
|
305
|
+
break
|
345
306
|
case 'base64':
|
346
|
-
|
307
|
+
ret = _base64Write(this, string, offset, length)
|
308
|
+
break
|
309
|
+
case 'ucs2':
|
310
|
+
case 'ucs-2':
|
311
|
+
case 'utf16le':
|
312
|
+
case 'utf-16le':
|
313
|
+
ret = _utf16leWrite(this, string, offset, length)
|
314
|
+
break
|
347
315
|
default:
|
348
316
|
throw new Error('Unknown encoding')
|
349
317
|
}
|
318
|
+
return ret
|
350
319
|
}
|
351
320
|
|
352
321
|
Buffer.prototype.toString = function (encoding, start, end) {
|
@@ -362,25 +331,34 @@ Buffer.prototype.toString = function (encoding, start, end) {
|
|
362
331
|
if (end === start)
|
363
332
|
return ''
|
364
333
|
|
334
|
+
var ret
|
365
335
|
switch (encoding) {
|
366
336
|
case 'hex':
|
367
|
-
|
337
|
+
ret = _hexSlice(self, start, end)
|
338
|
+
break
|
368
339
|
case 'utf8':
|
369
340
|
case 'utf-8':
|
370
|
-
|
371
|
-
|
372
|
-
case 'utf16le':
|
373
|
-
case 'utf-16le':
|
374
|
-
return _utf8Slice(self, start, end)
|
341
|
+
ret = _utf8Slice(self, start, end)
|
342
|
+
break
|
375
343
|
case 'ascii':
|
376
|
-
|
344
|
+
ret = _asciiSlice(self, start, end)
|
345
|
+
break
|
377
346
|
case 'binary':
|
378
|
-
|
347
|
+
ret = _binarySlice(self, start, end)
|
348
|
+
break
|
379
349
|
case 'base64':
|
380
|
-
|
350
|
+
ret = _base64Slice(self, start, end)
|
351
|
+
break
|
352
|
+
case 'ucs2':
|
353
|
+
case 'ucs-2':
|
354
|
+
case 'utf16le':
|
355
|
+
case 'utf-16le':
|
356
|
+
ret = _utf16leSlice(self, start, end)
|
357
|
+
break
|
381
358
|
default:
|
382
359
|
throw new Error('Unknown encoding')
|
383
360
|
}
|
361
|
+
return ret
|
384
362
|
}
|
385
363
|
|
386
364
|
Buffer.prototype.toJSON = function () {
|
@@ -471,7 +449,15 @@ function _hexSlice (buf, start, end) {
|
|
471
449
|
return out
|
472
450
|
}
|
473
451
|
|
474
|
-
|
452
|
+
function _utf16leSlice (buf, start, end) {
|
453
|
+
var bytes = buf.slice(start, end)
|
454
|
+
var res = ''
|
455
|
+
for (var i = 0; i < bytes.length; i += 2) {
|
456
|
+
res += String.fromCharCode(bytes[i] + bytes[i+1] * 256)
|
457
|
+
}
|
458
|
+
return res
|
459
|
+
}
|
460
|
+
|
475
461
|
Buffer.prototype.slice = function (start, end) {
|
476
462
|
var len = this.length
|
477
463
|
start = clamp(start, len, 0)
|
@@ -1062,6 +1048,20 @@ function asciiToBytes (str) {
|
|
1062
1048
|
return byteArray
|
1063
1049
|
}
|
1064
1050
|
|
1051
|
+
function utf16leToBytes (str) {
|
1052
|
+
var c, hi, lo
|
1053
|
+
var byteArray = []
|
1054
|
+
for (var i = 0; i < str.length; i++) {
|
1055
|
+
c = str.charCodeAt(i)
|
1056
|
+
hi = c >> 8
|
1057
|
+
lo = c % 256
|
1058
|
+
byteArray.push(lo)
|
1059
|
+
byteArray.push(hi)
|
1060
|
+
}
|
1061
|
+
|
1062
|
+
return byteArray
|
1063
|
+
}
|
1064
|
+
|
1065
1065
|
function base64ToBytes (str) {
|
1066
1066
|
return base64.toByteArray(str)
|
1067
1067
|
}
|
@@ -1090,22 +1090,21 @@ function decodeUtf8Char (str) {
|
|
1090
1090
|
* exceed the maximum allowed value.
|
1091
1091
|
*/
|
1092
1092
|
function verifuint (value, max) {
|
1093
|
-
assert(typeof value
|
1094
|
-
assert(value >= 0,
|
1095
|
-
'specified a negative value for writing an unsigned value')
|
1093
|
+
assert(typeof value === 'number', 'cannot write a non-number as a number')
|
1094
|
+
assert(value >= 0, 'specified a negative value for writing an unsigned value')
|
1096
1095
|
assert(value <= max, 'value is larger than maximum value for type')
|
1097
1096
|
assert(Math.floor(value) === value, 'value has a fractional component')
|
1098
1097
|
}
|
1099
1098
|
|
1100
|
-
function verifsint(value, max, min) {
|
1101
|
-
assert(typeof value
|
1099
|
+
function verifsint (value, max, min) {
|
1100
|
+
assert(typeof value === 'number', 'cannot write a non-number as a number')
|
1102
1101
|
assert(value <= max, 'value larger than maximum allowed value')
|
1103
1102
|
assert(value >= min, 'value smaller than minimum allowed value')
|
1104
1103
|
assert(Math.floor(value) === value, 'value has a fractional component')
|
1105
1104
|
}
|
1106
1105
|
|
1107
|
-
function verifIEEE754(value, max, min) {
|
1108
|
-
assert(typeof value
|
1106
|
+
function verifIEEE754 (value, max, min) {
|
1107
|
+
assert(typeof value === 'number', 'cannot write a non-number as a number')
|
1109
1108
|
assert(value <= max, 'value larger than maximum allowed value')
|
1110
1109
|
assert(value >= min, 'value smaller than minimum allowed value')
|
1111
1110
|
}
|
@@ -1114,7 +1113,7 @@ function assert (test, message) {
|
|
1114
1113
|
if (!test) throw new Error(message || 'Failed assertion')
|
1115
1114
|
}
|
1116
1115
|
|
1117
|
-
},{"base64-js":
|
1116
|
+
},{"base64-js":2,"ieee754":3}],2:[function(_dereq_,module,exports){
|
1118
1117
|
var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
1119
1118
|
|
1120
1119
|
;(function (exports) {
|
@@ -1237,7 +1236,7 @@ var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
1237
1236
|
module.exports.fromByteArray = uint8ToBase64
|
1238
1237
|
}())
|
1239
1238
|
|
1240
|
-
},{}],
|
1239
|
+
},{}],3:[function(_dereq_,module,exports){
|
1241
1240
|
exports.read = function(buffer, offset, isLE, mLen, nBytes) {
|
1242
1241
|
var e, m,
|
1243
1242
|
eLen = nBytes * 8 - mLen - 1,
|
@@ -1323,8 +1322,64 @@ exports.write = function(buffer, value, offset, isLE, mLen, nBytes) {
|
|
1323
1322
|
buffer[offset + i - d] |= s * 128;
|
1324
1323
|
};
|
1325
1324
|
|
1326
|
-
},{}],
|
1327
|
-
|
1325
|
+
},{}],4:[function(_dereq_,module,exports){
|
1326
|
+
// shim for using process in browser
|
1327
|
+
|
1328
|
+
var process = module.exports = {};
|
1329
|
+
|
1330
|
+
process.nextTick = (function () {
|
1331
|
+
var canSetImmediate = typeof window !== 'undefined'
|
1332
|
+
&& window.setImmediate;
|
1333
|
+
var canPost = typeof window !== 'undefined'
|
1334
|
+
&& window.postMessage && window.addEventListener
|
1335
|
+
;
|
1336
|
+
|
1337
|
+
if (canSetImmediate) {
|
1338
|
+
return function (f) { return window.setImmediate(f) };
|
1339
|
+
}
|
1340
|
+
|
1341
|
+
if (canPost) {
|
1342
|
+
var queue = [];
|
1343
|
+
window.addEventListener('message', function (ev) {
|
1344
|
+
var source = ev.source;
|
1345
|
+
if ((source === window || source === null) && ev.data === 'process-tick') {
|
1346
|
+
ev.stopPropagation();
|
1347
|
+
if (queue.length > 0) {
|
1348
|
+
var fn = queue.shift();
|
1349
|
+
fn();
|
1350
|
+
}
|
1351
|
+
}
|
1352
|
+
}, true);
|
1353
|
+
|
1354
|
+
return function nextTick(fn) {
|
1355
|
+
queue.push(fn);
|
1356
|
+
window.postMessage('process-tick', '*');
|
1357
|
+
};
|
1358
|
+
}
|
1359
|
+
|
1360
|
+
return function nextTick(fn) {
|
1361
|
+
setTimeout(fn, 0);
|
1362
|
+
};
|
1363
|
+
})();
|
1364
|
+
|
1365
|
+
process.title = 'browser';
|
1366
|
+
process.browser = true;
|
1367
|
+
process.env = {};
|
1368
|
+
process.argv = [];
|
1369
|
+
|
1370
|
+
process.binding = function (name) {
|
1371
|
+
throw new Error('process.binding is not supported');
|
1372
|
+
}
|
1373
|
+
|
1374
|
+
// TODO(shtylman)
|
1375
|
+
process.cwd = function () { return '/' };
|
1376
|
+
process.chdir = function (dir) {
|
1377
|
+
throw new Error('process.chdir is not supported');
|
1378
|
+
};
|
1379
|
+
|
1380
|
+
},{}],5:[function(_dereq_,module,exports){
|
1381
|
+
(function (process){
|
1382
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
1328
1383
|
//
|
1329
1384
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
1330
1385
|
// copy of this software and associated documentation files (the
|
@@ -1549,7 +1604,8 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
1549
1604
|
}
|
1550
1605
|
;
|
1551
1606
|
|
1552
|
-
},
|
1607
|
+
}).call(this,_dereq_("/Users/poshannessy/FB/code/react/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))
|
1608
|
+
},{"/Users/poshannessy/FB/code/react/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":4}],6:[function(_dereq_,module,exports){
|
1553
1609
|
/*
|
1554
1610
|
Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>
|
1555
1611
|
Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>
|
@@ -7857,7 +7913,7 @@ parseYieldExpression: true
|
|
7857
7913
|
}));
|
7858
7914
|
/* vim: set sw=4 ts=4 et tw=80 : */
|
7859
7915
|
|
7860
|
-
},{}],7:[function(
|
7916
|
+
},{}],7:[function(_dereq_,module,exports){
|
7861
7917
|
var Base62 = (function (my) {
|
7862
7918
|
my.chars = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
|
7863
7919
|
|
@@ -7885,17 +7941,17 @@ var Base62 = (function (my) {
|
|
7885
7941
|
}({}));
|
7886
7942
|
|
7887
7943
|
module.exports = Base62
|
7888
|
-
},{}],8:[function(
|
7944
|
+
},{}],8:[function(_dereq_,module,exports){
|
7889
7945
|
/*
|
7890
7946
|
* Copyright 2009-2011 Mozilla Foundation and contributors
|
7891
7947
|
* Licensed under the New BSD license. See LICENSE.txt or:
|
7892
7948
|
* http://opensource.org/licenses/BSD-3-Clause
|
7893
7949
|
*/
|
7894
|
-
exports.SourceMapGenerator =
|
7895
|
-
exports.SourceMapConsumer =
|
7896
|
-
exports.SourceNode =
|
7950
|
+
exports.SourceMapGenerator = _dereq_('./source-map/source-map-generator').SourceMapGenerator;
|
7951
|
+
exports.SourceMapConsumer = _dereq_('./source-map/source-map-consumer').SourceMapConsumer;
|
7952
|
+
exports.SourceNode = _dereq_('./source-map/source-node').SourceNode;
|
7897
7953
|
|
7898
|
-
},{"./source-map/source-map-consumer":13,"./source-map/source-map-generator":14,"./source-map/source-node":15}],9:[function(
|
7954
|
+
},{"./source-map/source-map-consumer":13,"./source-map/source-map-generator":14,"./source-map/source-node":15}],9:[function(_dereq_,module,exports){
|
7899
7955
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
7900
7956
|
/*
|
7901
7957
|
* Copyright 2011 Mozilla Foundation and contributors
|
@@ -7903,11 +7959,11 @@ exports.SourceNode = require('./source-map/source-node').SourceNode;
|
|
7903
7959
|
* http://opensource.org/licenses/BSD-3-Clause
|
7904
7960
|
*/
|
7905
7961
|
if (typeof define !== 'function') {
|
7906
|
-
var define =
|
7962
|
+
var define = _dereq_('amdefine')(module, _dereq_);
|
7907
7963
|
}
|
7908
|
-
define(function (
|
7964
|
+
define(function (_dereq_, exports, module) {
|
7909
7965
|
|
7910
|
-
var util =
|
7966
|
+
var util = _dereq_('./util');
|
7911
7967
|
|
7912
7968
|
/**
|
7913
7969
|
* A data structure which is a combination of an array and a set. Adding a new
|
@@ -7994,7 +8050,7 @@ define(function (require, exports, module) {
|
|
7994
8050
|
|
7995
8051
|
});
|
7996
8052
|
|
7997
|
-
},{"./util":16,"amdefine":17}],10:[function(
|
8053
|
+
},{"./util":16,"amdefine":17}],10:[function(_dereq_,module,exports){
|
7998
8054
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
7999
8055
|
/*
|
8000
8056
|
* Copyright 2011 Mozilla Foundation and contributors
|
@@ -8032,11 +8088,11 @@ define(function (require, exports, module) {
|
|
8032
8088
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
8033
8089
|
*/
|
8034
8090
|
if (typeof define !== 'function') {
|
8035
|
-
var define =
|
8091
|
+
var define = _dereq_('amdefine')(module, _dereq_);
|
8036
8092
|
}
|
8037
|
-
define(function (
|
8093
|
+
define(function (_dereq_, exports, module) {
|
8038
8094
|
|
8039
|
-
var base64 =
|
8095
|
+
var base64 = _dereq_('./base64');
|
8040
8096
|
|
8041
8097
|
// A single base 64 digit can contain 6 bits of data. For the base 64 variable
|
8042
8098
|
// length quantities we use in the source map spec, the first bit is the sign,
|
@@ -8140,7 +8196,7 @@ define(function (require, exports, module) {
|
|
8140
8196
|
|
8141
8197
|
});
|
8142
8198
|
|
8143
|
-
},{"./base64":11,"amdefine":17}],11:[function(
|
8199
|
+
},{"./base64":11,"amdefine":17}],11:[function(_dereq_,module,exports){
|
8144
8200
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
8145
8201
|
/*
|
8146
8202
|
* Copyright 2011 Mozilla Foundation and contributors
|
@@ -8148,9 +8204,9 @@ define(function (require, exports, module) {
|
|
8148
8204
|
* http://opensource.org/licenses/BSD-3-Clause
|
8149
8205
|
*/
|
8150
8206
|
if (typeof define !== 'function') {
|
8151
|
-
var define =
|
8207
|
+
var define = _dereq_('amdefine')(module, _dereq_);
|
8152
8208
|
}
|
8153
|
-
define(function (
|
8209
|
+
define(function (_dereq_, exports, module) {
|
8154
8210
|
|
8155
8211
|
var charToIntMap = {};
|
8156
8212
|
var intToCharMap = {};
|
@@ -8184,7 +8240,7 @@ define(function (require, exports, module) {
|
|
8184
8240
|
|
8185
8241
|
});
|
8186
8242
|
|
8187
|
-
},{"amdefine":17}],12:[function(
|
8243
|
+
},{"amdefine":17}],12:[function(_dereq_,module,exports){
|
8188
8244
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
8189
8245
|
/*
|
8190
8246
|
* Copyright 2011 Mozilla Foundation and contributors
|
@@ -8192,9 +8248,9 @@ define(function (require, exports, module) {
|
|
8192
8248
|
* http://opensource.org/licenses/BSD-3-Clause
|
8193
8249
|
*/
|
8194
8250
|
if (typeof define !== 'function') {
|
8195
|
-
var define =
|
8251
|
+
var define = _dereq_('amdefine')(module, _dereq_);
|
8196
8252
|
}
|
8197
|
-
define(function (
|
8253
|
+
define(function (_dereq_, exports, module) {
|
8198
8254
|
|
8199
8255
|
/**
|
8200
8256
|
* Recursive implementation of binary search.
|
@@ -8267,7 +8323,7 @@ define(function (require, exports, module) {
|
|
8267
8323
|
|
8268
8324
|
});
|
8269
8325
|
|
8270
|
-
},{"amdefine":17}],13:[function(
|
8326
|
+
},{"amdefine":17}],13:[function(_dereq_,module,exports){
|
8271
8327
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
8272
8328
|
/*
|
8273
8329
|
* Copyright 2011 Mozilla Foundation and contributors
|
@@ -8275,14 +8331,14 @@ define(function (require, exports, module) {
|
|
8275
8331
|
* http://opensource.org/licenses/BSD-3-Clause
|
8276
8332
|
*/
|
8277
8333
|
if (typeof define !== 'function') {
|
8278
|
-
var define =
|
8334
|
+
var define = _dereq_('amdefine')(module, _dereq_);
|
8279
8335
|
}
|
8280
|
-
define(function (
|
8336
|
+
define(function (_dereq_, exports, module) {
|
8281
8337
|
|
8282
|
-
var util =
|
8283
|
-
var binarySearch =
|
8284
|
-
var ArraySet =
|
8285
|
-
var base64VLQ =
|
8338
|
+
var util = _dereq_('./util');
|
8339
|
+
var binarySearch = _dereq_('./binary-search');
|
8340
|
+
var ArraySet = _dereq_('./array-set').ArraySet;
|
8341
|
+
var base64VLQ = _dereq_('./base64-vlq');
|
8286
8342
|
|
8287
8343
|
/**
|
8288
8344
|
* A SourceMapConsumer instance represents a parsed source map which we can
|
@@ -8746,7 +8802,7 @@ define(function (require, exports, module) {
|
|
8746
8802
|
|
8747
8803
|
});
|
8748
8804
|
|
8749
|
-
},{"./array-set":9,"./base64-vlq":10,"./binary-search":12,"./util":16,"amdefine":17}],14:[function(
|
8805
|
+
},{"./array-set":9,"./base64-vlq":10,"./binary-search":12,"./util":16,"amdefine":17}],14:[function(_dereq_,module,exports){
|
8750
8806
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
8751
8807
|
/*
|
8752
8808
|
* Copyright 2011 Mozilla Foundation and contributors
|
@@ -8754,13 +8810,13 @@ define(function (require, exports, module) {
|
|
8754
8810
|
* http://opensource.org/licenses/BSD-3-Clause
|
8755
8811
|
*/
|
8756
8812
|
if (typeof define !== 'function') {
|
8757
|
-
var define =
|
8813
|
+
var define = _dereq_('amdefine')(module, _dereq_);
|
8758
8814
|
}
|
8759
|
-
define(function (
|
8815
|
+
define(function (_dereq_, exports, module) {
|
8760
8816
|
|
8761
|
-
var base64VLQ =
|
8762
|
-
var util =
|
8763
|
-
var ArraySet =
|
8817
|
+
var base64VLQ = _dereq_('./base64-vlq');
|
8818
|
+
var util = _dereq_('./util');
|
8819
|
+
var ArraySet = _dereq_('./array-set').ArraySet;
|
8764
8820
|
|
8765
8821
|
/**
|
8766
8822
|
* An instance of the SourceMapGenerator represents a source map which is
|
@@ -9128,7 +9184,7 @@ define(function (require, exports, module) {
|
|
9128
9184
|
|
9129
9185
|
});
|
9130
9186
|
|
9131
|
-
},{"./array-set":9,"./base64-vlq":10,"./util":16,"amdefine":17}],15:[function(
|
9187
|
+
},{"./array-set":9,"./base64-vlq":10,"./util":16,"amdefine":17}],15:[function(_dereq_,module,exports){
|
9132
9188
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
9133
9189
|
/*
|
9134
9190
|
* Copyright 2011 Mozilla Foundation and contributors
|
@@ -9136,12 +9192,12 @@ define(function (require, exports, module) {
|
|
9136
9192
|
* http://opensource.org/licenses/BSD-3-Clause
|
9137
9193
|
*/
|
9138
9194
|
if (typeof define !== 'function') {
|
9139
|
-
var define =
|
9195
|
+
var define = _dereq_('amdefine')(module, _dereq_);
|
9140
9196
|
}
|
9141
|
-
define(function (
|
9197
|
+
define(function (_dereq_, exports, module) {
|
9142
9198
|
|
9143
|
-
var SourceMapGenerator =
|
9144
|
-
var util =
|
9199
|
+
var SourceMapGenerator = _dereq_('./source-map-generator').SourceMapGenerator;
|
9200
|
+
var util = _dereq_('./util');
|
9145
9201
|
|
9146
9202
|
/**
|
9147
9203
|
* SourceNodes provide a way to abstract over interpolating/concatenating
|
@@ -9501,7 +9557,7 @@ define(function (require, exports, module) {
|
|
9501
9557
|
|
9502
9558
|
});
|
9503
9559
|
|
9504
|
-
},{"./source-map-generator":14,"./util":16,"amdefine":17}],16:[function(
|
9560
|
+
},{"./source-map-generator":14,"./util":16,"amdefine":17}],16:[function(_dereq_,module,exports){
|
9505
9561
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
9506
9562
|
/*
|
9507
9563
|
* Copyright 2011 Mozilla Foundation and contributors
|
@@ -9509,9 +9565,9 @@ define(function (require, exports, module) {
|
|
9509
9565
|
* http://opensource.org/licenses/BSD-3-Clause
|
9510
9566
|
*/
|
9511
9567
|
if (typeof define !== 'function') {
|
9512
|
-
var define =
|
9568
|
+
var define = _dereq_('amdefine')(module, _dereq_);
|
9513
9569
|
}
|
9514
|
-
define(function (
|
9570
|
+
define(function (_dereq_, exports, module) {
|
9515
9571
|
|
9516
9572
|
/**
|
9517
9573
|
* This is a helper function for getting values from parameter/options
|
@@ -9708,8 +9764,9 @@ define(function (require, exports, module) {
|
|
9708
9764
|
|
9709
9765
|
});
|
9710
9766
|
|
9711
|
-
},{"amdefine":17}],17:[function(
|
9712
|
-
|
9767
|
+
},{"amdefine":17}],17:[function(_dereq_,module,exports){
|
9768
|
+
(function (process,__filename){
|
9769
|
+
/** vim: et:ts=4:sw=4:sts=4
|
9713
9770
|
* @license amdefine 0.1.0 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
|
9714
9771
|
* Available via the MIT or new BSD license.
|
9715
9772
|
* see: http://github.com/jrburke/amdefine for details
|
@@ -9734,7 +9791,7 @@ function amdefine(module, requireFn) {
|
|
9734
9791
|
var defineCache = {},
|
9735
9792
|
loaderCache = {},
|
9736
9793
|
alreadyCalled = false,
|
9737
|
-
path =
|
9794
|
+
path = _dereq_('path'),
|
9738
9795
|
makeRequire, stringRequire;
|
9739
9796
|
|
9740
9797
|
/**
|
@@ -10009,7 +10066,8 @@ function amdefine(module, requireFn) {
|
|
10009
10066
|
|
10010
10067
|
module.exports = amdefine;
|
10011
10068
|
|
10012
|
-
},
|
10069
|
+
}).call(this,_dereq_("/Users/poshannessy/FB/code/react/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"/../node_modules/jstransform/node_modules/source-map/node_modules/amdefine/amdefine.js")
|
10070
|
+
},{"/Users/poshannessy/FB/code/react/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":4,"path":5}],18:[function(_dereq_,module,exports){
|
10013
10071
|
/**
|
10014
10072
|
* Copyright 2013 Facebook, Inc.
|
10015
10073
|
*
|
@@ -10097,7 +10155,7 @@ exports.extract = extract;
|
|
10097
10155
|
exports.parse = parse;
|
10098
10156
|
exports.parseAsObject = parseAsObject;
|
10099
10157
|
|
10100
|
-
},{}],19:[function(
|
10158
|
+
},{}],19:[function(_dereq_,module,exports){
|
10101
10159
|
/**
|
10102
10160
|
* Copyright 2013 Facebook, Inc.
|
10103
10161
|
*
|
@@ -10125,8 +10183,8 @@ exports.parseAsObject = parseAsObject;
|
|
10125
10183
|
* Parses input source with esprima, applies the given list of visitors to the
|
10126
10184
|
* AST tree, and returns the resulting output.
|
10127
10185
|
*/
|
10128
|
-
var esprima =
|
10129
|
-
var utils =
|
10186
|
+
var esprima = _dereq_('esprima-fb');
|
10187
|
+
var utils = _dereq_('./utils');
|
10130
10188
|
|
10131
10189
|
var Syntax = esprima.Syntax;
|
10132
10190
|
|
@@ -10325,7 +10383,7 @@ function transform(visitors, source, options) {
|
|
10325
10383
|
state.g.visitors = visitors;
|
10326
10384
|
|
10327
10385
|
if (options.sourceMap) {
|
10328
|
-
var SourceMapGenerator =
|
10386
|
+
var SourceMapGenerator = _dereq_('source-map').SourceMapGenerator;
|
10329
10387
|
state.g.sourceMap = new SourceMapGenerator({file: 'transformed.js'});
|
10330
10388
|
}
|
10331
10389
|
|
@@ -10342,7 +10400,7 @@ function transform(visitors, source, options) {
|
|
10342
10400
|
|
10343
10401
|
exports.transform = transform;
|
10344
10402
|
|
10345
|
-
},{"./utils":20,"esprima-fb":6,"source-map":8}],20:[function(
|
10403
|
+
},{"./utils":20,"esprima-fb":6,"source-map":8}],20:[function(_dereq_,module,exports){
|
10346
10404
|
/**
|
10347
10405
|
* Copyright 2013 Facebook, Inc.
|
10348
10406
|
*
|
@@ -10711,7 +10769,7 @@ function indentBefore(start, state) {
|
|
10711
10769
|
|
10712
10770
|
function getDocblock(state) {
|
10713
10771
|
if (!state.g.docblock) {
|
10714
|
-
var docblock =
|
10772
|
+
var docblock = _dereq_('./docblock');
|
10715
10773
|
state.g.docblock =
|
10716
10774
|
docblock.parseAsObject(docblock.extract(state.g.source));
|
10717
10775
|
}
|
@@ -10823,7 +10881,7 @@ exports.updateIndent = updateIndent;
|
|
10823
10881
|
exports.updateState = updateState;
|
10824
10882
|
exports.analyzeAndTraverse = analyzeAndTraverse;
|
10825
10883
|
|
10826
|
-
},{"./docblock":18}],21:[function(
|
10884
|
+
},{"./docblock":18}],21:[function(_dereq_,module,exports){
|
10827
10885
|
/**
|
10828
10886
|
* Copyright 2013 Facebook, Inc.
|
10829
10887
|
*
|
@@ -10864,9 +10922,9 @@ exports.analyzeAndTraverse = analyzeAndTraverse;
|
|
10864
10922
|
* }.bind(this));
|
10865
10923
|
*
|
10866
10924
|
*/
|
10867
|
-
var restParamVisitors =
|
10868
|
-
var Syntax =
|
10869
|
-
var utils =
|
10925
|
+
var restParamVisitors = _dereq_('./es6-rest-param-visitors');
|
10926
|
+
var Syntax = _dereq_('esprima-fb').Syntax;
|
10927
|
+
var utils = _dereq_('../src/utils');
|
10870
10928
|
|
10871
10929
|
/**
|
10872
10930
|
* @public
|
@@ -10942,7 +11000,7 @@ exports.visitorList = [
|
|
10942
11000
|
];
|
10943
11001
|
|
10944
11002
|
|
10945
|
-
},{"../src/utils":20,"./es6-rest-param-visitors":24,"esprima-fb":6}],22:[function(
|
11003
|
+
},{"../src/utils":20,"./es6-rest-param-visitors":24,"esprima-fb":6}],22:[function(_dereq_,module,exports){
|
10946
11004
|
/**
|
10947
11005
|
* Copyright 2013 Facebook, Inc.
|
10948
11006
|
*
|
@@ -10966,9 +11024,9 @@ exports.visitorList = [
|
|
10966
11024
|
*/
|
10967
11025
|
'use strict';
|
10968
11026
|
|
10969
|
-
var base62 =
|
10970
|
-
var Syntax =
|
10971
|
-
var utils =
|
11027
|
+
var base62 = _dereq_('base62');
|
11028
|
+
var Syntax = _dereq_('esprima-fb').Syntax;
|
11029
|
+
var utils = _dereq_('../src/utils');
|
10972
11030
|
|
10973
11031
|
var SUPER_PROTO_IDENT_PREFIX = '____SuperProtoOf';
|
10974
11032
|
|
@@ -11422,7 +11480,7 @@ exports.visitorList = [
|
|
11422
11480
|
visitSuperMemberExpression
|
11423
11481
|
];
|
11424
11482
|
|
11425
|
-
},{"../src/utils":20,"base62":7,"esprima-fb":6}],23:[function(
|
11483
|
+
},{"../src/utils":20,"base62":7,"esprima-fb":6}],23:[function(_dereq_,module,exports){
|
11426
11484
|
/**
|
11427
11485
|
* Copyright 2013 Facebook, Inc.
|
11428
11486
|
*
|
@@ -11453,8 +11511,8 @@ exports.visitorList = [
|
|
11453
11511
|
* function init({port, ip, coords: {x, y}}) { ... }
|
11454
11512
|
*
|
11455
11513
|
*/
|
11456
|
-
var Syntax =
|
11457
|
-
var utils =
|
11514
|
+
var Syntax = _dereq_('esprima-fb').Syntax;
|
11515
|
+
var utils = _dereq_('../src/utils');
|
11458
11516
|
|
11459
11517
|
/**
|
11460
11518
|
* @public
|
@@ -11476,7 +11534,7 @@ exports.visitorList = [
|
|
11476
11534
|
];
|
11477
11535
|
|
11478
11536
|
|
11479
|
-
},{"../src/utils":20,"esprima-fb":6}],24:[function(
|
11537
|
+
},{"../src/utils":20,"esprima-fb":6}],24:[function(_dereq_,module,exports){
|
11480
11538
|
/**
|
11481
11539
|
* Copyright 2013 Facebook, Inc.
|
11482
11540
|
*
|
@@ -11508,8 +11566,8 @@ exports.visitorList = [
|
|
11508
11566
|
* };
|
11509
11567
|
*
|
11510
11568
|
*/
|
11511
|
-
var Syntax =
|
11512
|
-
var utils =
|
11569
|
+
var Syntax = _dereq_('esprima-fb').Syntax;
|
11570
|
+
var utils = _dereq_('../src/utils');
|
11513
11571
|
|
11514
11572
|
function _nodeIsFunctionWithRestParam(node) {
|
11515
11573
|
return (node.type === Syntax.FunctionDeclaration
|
@@ -11559,7 +11617,7 @@ exports.visitorList = [
|
|
11559
11617
|
visitFunctionBodyWithRestParam
|
11560
11618
|
];
|
11561
11619
|
|
11562
|
-
},{"../src/utils":20,"esprima-fb":6}],25:[function(
|
11620
|
+
},{"../src/utils":20,"esprima-fb":6}],25:[function(_dereq_,module,exports){
|
11563
11621
|
/**
|
11564
11622
|
* Copyright 2013 Facebook, Inc.
|
11565
11623
|
*
|
@@ -11583,8 +11641,8 @@ exports.visitorList = [
|
|
11583
11641
|
*/
|
11584
11642
|
'use strict';
|
11585
11643
|
|
11586
|
-
var Syntax =
|
11587
|
-
var utils =
|
11644
|
+
var Syntax = _dereq_('esprima-fb').Syntax;
|
11645
|
+
var utils = _dereq_('../src/utils');
|
11588
11646
|
|
11589
11647
|
/**
|
11590
11648
|
* http://people.mozilla.org/~jorendorff/es6-draft.html#sec-12.1.9
|
@@ -11708,7 +11766,7 @@ exports.visitorList = [
|
|
11708
11766
|
visitTaggedTemplateExpression
|
11709
11767
|
];
|
11710
11768
|
|
11711
|
-
},{"../src/utils":20,"esprima-fb":6}],26:[function(
|
11769
|
+
},{"../src/utils":20,"esprima-fb":6}],26:[function(_dereq_,module,exports){
|
11712
11770
|
/**
|
11713
11771
|
* Copyright 2013-2014 Facebook, Inc.
|
11714
11772
|
*
|
@@ -11731,10 +11789,10 @@ exports.visitorList = [
|
|
11731
11789
|
var runScripts;
|
11732
11790
|
var headEl;
|
11733
11791
|
|
11734
|
-
var buffer =
|
11735
|
-
var transform =
|
11736
|
-
var visitors =
|
11737
|
-
var docblock =
|
11792
|
+
var buffer = _dereq_('buffer');
|
11793
|
+
var transform = _dereq_('jstransform').transform;
|
11794
|
+
var visitors = _dereq_('./fbtransform/visitors').transformVisitors;
|
11795
|
+
var docblock = _dereq_('jstransform/src/docblock');
|
11738
11796
|
|
11739
11797
|
// The source-map library relies on Object.defineProperty, but IE8 doesn't
|
11740
11798
|
// support it fully even with es5-sham. Indeed, es5-sham's defineProperty
|
@@ -11905,7 +11963,7 @@ if (typeof window !== "undefined" && window !== null) {
|
|
11905
11963
|
}
|
11906
11964
|
}
|
11907
11965
|
|
11908
|
-
},{"./fbtransform/visitors":30,"buffer":
|
11966
|
+
},{"./fbtransform/visitors":30,"buffer":1,"jstransform":19,"jstransform/src/docblock":18}],27:[function(_dereq_,module,exports){
|
11909
11967
|
/**
|
11910
11968
|
* Copyright 2013-2014 Facebook, Inc.
|
11911
11969
|
*
|
@@ -11924,14 +11982,14 @@ if (typeof window !== "undefined" && window !== null) {
|
|
11924
11982
|
/*global exports:true*/
|
11925
11983
|
"use strict";
|
11926
11984
|
|
11927
|
-
var Syntax =
|
11928
|
-
var utils =
|
11985
|
+
var Syntax = _dereq_('esprima-fb').Syntax;
|
11986
|
+
var utils = _dereq_('jstransform/src/utils');
|
11929
11987
|
|
11930
|
-
var FALLBACK_TAGS =
|
11988
|
+
var FALLBACK_TAGS = _dereq_('./xjs').knownTags;
|
11931
11989
|
var renderXJSExpressionContainer =
|
11932
|
-
|
11933
|
-
var renderXJSLiteral =
|
11934
|
-
var quoteAttrName =
|
11990
|
+
_dereq_('./xjs').renderXJSExpressionContainer;
|
11991
|
+
var renderXJSLiteral = _dereq_('./xjs').renderXJSLiteral;
|
11992
|
+
var quoteAttrName = _dereq_('./xjs').quoteAttrName;
|
11935
11993
|
|
11936
11994
|
/**
|
11937
11995
|
* Customized desugar processor.
|
@@ -11968,7 +12026,7 @@ function visitReactTag(traverse, object, path, state) {
|
|
11968
12026
|
'Namespace tags are not supported. ReactJSX is not XML.');
|
11969
12027
|
}
|
11970
12028
|
|
11971
|
-
var isFallbackTag = FALLBACK_TAGS
|
12029
|
+
var isFallbackTag = FALLBACK_TAGS.hasOwnProperty(nameObject.name);
|
11972
12030
|
utils.append(
|
11973
12031
|
(isFallbackTag ? jsxObjIdent + '.' : '') + (nameObject.name) + '(',
|
11974
12032
|
state
|
@@ -12009,7 +12067,7 @@ function visitReactTag(traverse, object, path, state) {
|
|
12009
12067
|
utils.move(attr.name.range[1], state);
|
12010
12068
|
// Use catchupWhiteSpace to skip over the '=' in the attribute
|
12011
12069
|
utils.catchupWhiteSpace(attr.value.range[0], state);
|
12012
|
-
if (JSX_ATTRIBUTE_TRANSFORMS
|
12070
|
+
if (JSX_ATTRIBUTE_TRANSFORMS.hasOwnProperty(attr.name.name)) {
|
12013
12071
|
utils.append(JSX_ATTRIBUTE_TRANSFORMS[attr.name.name](attr), state);
|
12014
12072
|
utils.move(attr.value.range[1], state);
|
12015
12073
|
if (!isLast) {
|
@@ -12041,12 +12099,23 @@ function visitReactTag(traverse, object, path, state) {
|
|
12041
12099
|
&& child.value.match(/^[ \t]*[\r\n][ \t\r\n]*$/));
|
12042
12100
|
});
|
12043
12101
|
if (childrenToRender.length > 0) {
|
12044
|
-
|
12102
|
+
var lastRenderableIndex;
|
12103
|
+
|
12104
|
+
childrenToRender.forEach(function(child, index) {
|
12105
|
+
if (child.type !== Syntax.XJSExpressionContainer ||
|
12106
|
+
child.expression.type !== Syntax.XJSEmptyExpression) {
|
12107
|
+
lastRenderableIndex = index;
|
12108
|
+
}
|
12109
|
+
});
|
12110
|
+
|
12111
|
+
if (lastRenderableIndex !== undefined) {
|
12112
|
+
utils.append(', ', state);
|
12113
|
+
}
|
12045
12114
|
|
12046
12115
|
childrenToRender.forEach(function(child, index) {
|
12047
12116
|
utils.catchup(child.range[0], state);
|
12048
12117
|
|
12049
|
-
var isLast = index
|
12118
|
+
var isLast = index >= lastRenderableIndex;
|
12050
12119
|
|
12051
12120
|
if (child.type === Syntax.Literal) {
|
12052
12121
|
renderXJSLiteral(child, isLast, state);
|
@@ -12088,7 +12157,7 @@ exports.visitorList = [
|
|
12088
12157
|
visitReactTag
|
12089
12158
|
];
|
12090
12159
|
|
12091
|
-
},{"./xjs":29,"esprima-fb":6,"jstransform/src/utils":20}],28:[function(
|
12160
|
+
},{"./xjs":29,"esprima-fb":6,"jstransform/src/utils":20}],28:[function(_dereq_,module,exports){
|
12092
12161
|
/**
|
12093
12162
|
* Copyright 2013-2014 Facebook, Inc.
|
12094
12163
|
*
|
@@ -12107,8 +12176,8 @@ exports.visitorList = [
|
|
12107
12176
|
/*global exports:true*/
|
12108
12177
|
"use strict";
|
12109
12178
|
|
12110
|
-
var Syntax =
|
12111
|
-
var utils =
|
12179
|
+
var Syntax = _dereq_('esprima-fb').Syntax;
|
12180
|
+
var utils = _dereq_('jstransform/src/utils');
|
12112
12181
|
|
12113
12182
|
function addDisplayName(displayName, object, state) {
|
12114
12183
|
if (object &&
|
@@ -12197,7 +12266,7 @@ exports.visitorList = [
|
|
12197
12266
|
visitReactDisplayName
|
12198
12267
|
];
|
12199
12268
|
|
12200
|
-
},{"esprima-fb":6,"jstransform/src/utils":20}],29:[function(
|
12269
|
+
},{"esprima-fb":6,"jstransform/src/utils":20}],29:[function(_dereq_,module,exports){
|
12201
12270
|
/**
|
12202
12271
|
* Copyright 2013-2014 Facebook, Inc.
|
12203
12272
|
*
|
@@ -12215,8 +12284,8 @@ exports.visitorList = [
|
|
12215
12284
|
*/
|
12216
12285
|
/*global exports:true*/
|
12217
12286
|
"use strict";
|
12218
|
-
var Syntax =
|
12219
|
-
var utils =
|
12287
|
+
var Syntax = _dereq_('esprima-fb').Syntax;
|
12288
|
+
var utils = _dereq_('jstransform/src/utils');
|
12220
12289
|
|
12221
12290
|
var knownTags = {
|
12222
12291
|
a: true,
|
@@ -12306,6 +12375,7 @@ var knownTags = {
|
|
12306
12375
|
p: true,
|
12307
12376
|
param: true,
|
12308
12377
|
path: true,
|
12378
|
+
polygon: true,
|
12309
12379
|
polyline: true,
|
12310
12380
|
pre: true,
|
12311
12381
|
progress: true,
|
@@ -12440,15 +12510,15 @@ exports.renderXJSExpressionContainer = renderXJSExpressionContainer;
|
|
12440
12510
|
exports.renderXJSLiteral = renderXJSLiteral;
|
12441
12511
|
exports.quoteAttrName = quoteAttrName;
|
12442
12512
|
|
12443
|
-
},{"esprima-fb":6,"jstransform/src/utils":20}],30:[function(
|
12513
|
+
},{"esprima-fb":6,"jstransform/src/utils":20}],30:[function(_dereq_,module,exports){
|
12444
12514
|
/*global exports:true*/
|
12445
|
-
var es6ArrowFunctions =
|
12446
|
-
var es6Classes =
|
12447
|
-
var es6ObjectShortNotation =
|
12448
|
-
var es6RestParameters =
|
12449
|
-
var es6Templates =
|
12450
|
-
var react =
|
12451
|
-
var reactDisplayName =
|
12515
|
+
var es6ArrowFunctions = _dereq_('jstransform/visitors/es6-arrow-function-visitors');
|
12516
|
+
var es6Classes = _dereq_('jstransform/visitors/es6-class-visitors');
|
12517
|
+
var es6ObjectShortNotation = _dereq_('jstransform/visitors/es6-object-short-notation-visitors');
|
12518
|
+
var es6RestParameters = _dereq_('jstransform/visitors/es6-rest-param-visitors');
|
12519
|
+
var es6Templates = _dereq_('jstransform/visitors/es6-template-visitors');
|
12520
|
+
var react = _dereq_('./transforms/react');
|
12521
|
+
var reactDisplayName = _dereq_('./transforms/reactDisplayName');
|
12452
12522
|
|
12453
12523
|
/**
|
12454
12524
|
* Map from transformName => orderedListOfVisitors.
|