Skip to content

Commit 9b2553e

Browse files
committed
put in some more metadata
1 parent b883015 commit 9b2553e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎v3/js/iframe-embed.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ $(document).ready(function() {
9696
var backendOptionsObj = {cumulative_mode: cumModeBool,
9797
heap_primitives: heapPrimitivesBool,
9898
show_only_outputs: showOnlyOutputsBool,
99-
py_crazy_mode: (pyState == '2crazy')};
99+
py_crazy_mode: (pyState == '2crazy'),
100+
origin: 'iframe-embed.js'};
100101

101102
var frontendOptionsObj = {startingInstruction: startingInstruction,
102103
embeddedMode: true,

‎v3/js/opt-frontend.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ $(document).ready(function() {
146146
var backendOptionsObj = {cumulative_mode: ($('#cumulativeModeSelector').val() == 'true'),
147147
heap_primitives: ($('#heapPrimitivesSelector').val() == 'true'),
148148
show_only_outputs: ($('#showOnlyOutputsSelector').val() == 'true'),
149-
py_crazy_mode: ($('#pythonVersionSelector').val() == '2crazy')};
149+
py_crazy_mode: ($('#pythonVersionSelector').val() == '2crazy'),
150+
origin: 'opt-frontend.js'};
150151

151152

152153
var startingInstruction = 0;

0 commit comments

Comments
 (0)