Skip to content

Instantly share code, notes, and snippets.

@a-ignatov-parc
Last active December 22, 2015 10:58
Show Gist options
  • Save a-ignatov-parc/6462379 to your computer and use it in GitHub Desktop.
Save a-ignatov-parc/6462379 to your computer and use it in GitHub Desktop.
define('requirejs-sandbox', [
'requirejs-sandbox/logger',
'requirejs-sandbox/utils',
'requirejs-sandbox/plugins/css',
'requirejs-sandbox/plugins/transit'
], function(console, utils, cssPlugin, transitPlugin) {
node { name: 'stat',
node:
[ { name: 'stat', start: [Object], end: [Object] },
[ [Object], [Object], [Object] ] ],
start:
{ type: 'name',
value: 'define',
line: 7,
col: 0,
pos: 227,
nlb: true,
comments_before: [ [Object] ] },
end:
{ type: 'punc',
value: ';',
line: 277,
col: 2,
pos: 8458,
nlb: false,
comments_before: [] },
value: [ [ [Object], [Object], [Object] ] ],
state:
{ node: [ [Object], [Object] ],
node_: [ [Object], [Object] ],
path: [ '1', '0' ],
parent:
{ node: [Object],
node_: [Object],
path: [Object],
parent: [Object],
parents: [Object],
key: '1',
isRoot: false,
level: 1,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [Object],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
parents: [ [Object], [Object] ],
key: '0',
isRoot: false,
level: 2,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [ '0', '1' ],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
wrap: [Function],
parent: [Function],
source: [Function],
label: [Function] }
node { name: 'call',
node:
[ { name: 'call', start: [Object], end: [Object] },
[ 'name', 'define' ],
[ [Object], [Object], [Object] ] ],
start:
{ type: 'name',
value: 'define',
line: 7,
col: 0,
pos: 227,
nlb: true,
comments_before: [ [Object] ] },
end:
{ type: 'punc',
value: ')',
line: 277,
col: 1,
pos: 8457,
nlb: false,
comments_before: [] },
value: [ [ 'name', 'define' ], [ [Object], [Object], [Object] ] ],
state:
{ node: [ [Object], [Object], [Object] ],
node_: [ [Object], [Object], [Object] ],
path: [ '1', '0', '1' ],
parent:
{ node: [Object],
node_: [Object],
path: [Object],
parent: [Object],
parents: [Object],
key: '0',
isRoot: false,
level: 2,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [Object],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
parents: [ [Object], [Object], [Object] ],
key: '1',
isRoot: false,
level: 3,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [ '0', '1', '2' ],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
wrap: [Function],
parent: [Function],
source: [Function],
label: [Function] }
node { name: 'string',
node:
[ { name: 'string', start: [Object], end: [Object] },
'requirejs-sandbox' ],
start:
{ type: 'string',
value: 'requirejs-sandbox',
line: 7,
col: 7,
pos: 234,
nlb: false,
comments_before: [] },
end:
{ type: 'string',
value: 'requirejs-sandbox',
line: 7,
col: 7,
pos: 234,
nlb: false,
comments_before: [] },
value: [ 'requirejs-sandbox' ],
state:
{ node: [ [Object], 'requirejs-sandbox' ],
node_: [ [Object], 'requirejs-sandbox' ],
path: [ '2', '0' ],
parent:
{ node: [Object],
node_: [Object],
path: [Object],
parent: [Object],
parents: [Object],
key: '2',
isRoot: false,
level: 1,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [Object],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
parents: [ [Object], [Object] ],
key: '0',
isRoot: false,
level: 2,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [ '0', '1' ],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
wrap: [Function],
parent: [Function],
source: [Function],
label: [Function] }
node { name: 'array',
node:
[ { name: 'array', start: [Object], end: [Object] },
[ [Object], [Object], [Object], [Object] ] ],
start:
{ type: 'punc',
value: '[',
line: 7,
col: 28,
pos: 255,
nlb: false,
comments_before: [] },
end:
{ type: 'punc',
value: ']',
line: 12,
col: 0,
pos: 385,
nlb: true,
comments_before: [] },
value: [ [ [Object], [Object], [Object], [Object] ] ],
state:
{ node: [ [Object], [Object] ],
node_: [ [Object], [Object] ],
path: [ '2', '1' ],
parent:
{ node: [Object],
node_: [Object],
path: [Object],
parent: [Object],
parents: [Object],
key: '2',
isRoot: false,
level: 1,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [Object],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
parents: [ [Object], [Object] ],
key: '1',
isRoot: false,
level: 2,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [ '0', '1' ],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
wrap: [Function],
parent: [Function],
source: [Function],
label: [Function] }
node { name: 'string',
node:
[ { name: 'string', start: [Object], end: [Object] },
'requirejs-sandbox/logger' ],
start:
{ type: 'string',
value: 'requirejs-sandbox/logger',
line: 8,
col: 1,
pos: 258,
nlb: true,
comments_before: [] },
end:
{ type: 'string',
value: 'requirejs-sandbox/logger',
line: 8,
col: 1,
pos: 258,
nlb: true,
comments_before: [] },
value: [ 'requirejs-sandbox/logger' ],
state:
{ node: [ [Object], 'requirejs-sandbox/logger' ],
node_: [ [Object], 'requirejs-sandbox/logger' ],
path: [ '2', '1', '1', '0' ],
parent:
{ node: [Object],
node_: [Object],
path: [Object],
parent: [Object],
parents: [Object],
key: '1',
isRoot: false,
level: 3,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [Object],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
parents: [ [Object], [Object], [Object], [Object] ],
key: '0',
isRoot: false,
level: 4,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [ '0', '1' ],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
wrap: [Function],
parent: [Function],
source: [Function],
label: [Function] }
node { name: 'string',
node:
[ { name: 'string', start: [Object], end: [Object] },
'requirejs-sandbox/utils' ],
start:
{ type: 'string',
value: 'requirejs-sandbox/utils',
line: 9,
col: 1,
pos: 287,
nlb: true,
comments_before: [] },
end:
{ type: 'string',
value: 'requirejs-sandbox/utils',
line: 9,
col: 1,
pos: 287,
nlb: true,
comments_before: [] },
value: [ 'requirejs-sandbox/utils' ],
state:
{ node: [ [Object], 'requirejs-sandbox/utils' ],
node_: [ [Object], 'requirejs-sandbox/utils' ],
path: [ '2', '1', '1', '1' ],
parent:
{ node: [Object],
node_: [Object],
path: [Object],
parent: [Object],
parents: [Object],
key: '1',
isRoot: false,
level: 3,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [Object],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
parents: [ [Object], [Object], [Object], [Object] ],
key: '1',
isRoot: false,
level: 4,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [ '0', '1' ],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
wrap: [Function],
parent: [Function],
source: [Function],
label: [Function] }
node { name: 'string',
node:
[ { name: 'string', start: [Object], end: [Object] },
'requirejs-sandbox/plugins/css' ],
start:
{ type: 'string',
value: 'requirejs-sandbox/plugins/css',
line: 10,
col: 1,
pos: 315,
nlb: true,
comments_before: [] },
end:
{ type: 'string',
value: 'requirejs-sandbox/plugins/css',
line: 10,
col: 1,
pos: 315,
nlb: true,
comments_before: [] },
value: [ 'requirejs-sandbox/plugins/css' ],
state:
{ node: [ [Object], 'requirejs-sandbox/plugins/css' ],
node_: [ [Object], 'requirejs-sandbox/plugins/css' ],
path: [ '2', '1', '1', '2' ],
parent:
{ node: [Object],
node_: [Object],
path: [Object],
parent: [Object],
parents: [Object],
key: '1',
isRoot: false,
level: 3,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [Object],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
parents: [ [Object], [Object], [Object], [Object] ],
key: '2',
isRoot: false,
level: 4,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [ '0', '1' ],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
wrap: [Function],
parent: [Function],
source: [Function],
label: [Function] }
node { name: 'string',
node:
[ { name: 'string', start: [Object], end: [Object] },
'requirejs-sandbox/plugins/transit' ],
start:
{ type: 'string',
value: 'requirejs-sandbox/plugins/transit',
line: 11,
col: 1,
pos: 349,
nlb: true,
comments_before: [] },
end:
{ type: 'string',
value: 'requirejs-sandbox/plugins/transit',
line: 11,
col: 1,
pos: 349,
nlb: true,
comments_before: [] },
value: [ 'requirejs-sandbox/plugins/transit' ],
state:
{ node: [ [Object], 'requirejs-sandbox/plugins/transit' ],
node_: [ [Object], 'requirejs-sandbox/plugins/transit' ],
path: [ '2', '1', '1', '3' ],
parent:
{ node: [Object],
node_: [Object],
path: [Object],
parent: [Object],
parents: [Object],
key: '1',
isRoot: false,
level: 3,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [Object],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
parents: [ [Object], [Object], [Object], [Object] ],
key: '3',
isRoot: false,
level: 4,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [ '0', '1' ],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
wrap: [Function],
parent: [Function],
source: [Function],
label: [Function] }
node { name: 'function',
node:
[ { name: 'function', start: [Object], end: [Object] },
null,
[ 'console', 'utils', 'cssPlugin', 'transitPlugin' ],
[ [Object], [Object], [Object], [Object], [Object] ] ],
start:
{ type: 'punc',
value: '(',
line: 12,
col: 11,
pos: 396,
nlb: false,
comments_before: [] },
end:
{ type: 'punc',
value: '}',
line: 277,
col: 0,
pos: 8456,
nlb: true,
comments_before: [] },
value:
[ null,
[ 'console', 'utils', 'cssPlugin', 'transitPlugin' ],
[ [Object], [Object], [Object], [Object], [Object] ] ],
state:
{ node: [ [Object], null, [Object], [Object] ],
node_: [ [Object], null, [Object], [Object] ],
path: [ '2', '2' ],
parent:
{ node: [Object],
node_: [Object],
path: [Object],
parent: [Object],
parents: [Object],
key: '2',
isRoot: false,
level: 1,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [Object],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
parents: [ [Object], [Object] ],
key: '2',
isRoot: false,
level: 2,
circular: null,
update: [Function],
delete: [Function],
remove: [Function],
keys: [ '0', '1', '2', '3' ],
before: [Function],
after: [Function],
pre: [Function],
post: [Function],
stop: [Function],
block: [Function],
isLeaf: false,
notLeaf: true,
notRoot: true },
wrap: [Function],
parent: [Function],
source: [Function],
label: [Function] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment