@@ -25,92 +25,90 @@ if (process.env.NODE_ENV === "development") {
25
25
}
26
26
27
27
// Allows old sprockets and inline-javascript to access webpack modules
28
- window [ "Webpack" ] = {
29
- modules : {
30
- "autosize" : require ( "autosize" ) ,
31
- "classnames" : require ( "classnames" ) ,
32
- "create-react-class" : require ( "create-react-class" ) ,
33
- "credit-card-type" : require ( "credit-card-type" ) ,
34
- "escape-html" : require ( "escape-html" ) ,
35
- "eventemitter3" : require ( "eventemitter3" ) ,
36
- "moment" : require ( "moment" ) ,
37
- "object-assign" : require ( "object-assign" ) ,
38
- "prop-types" : require ( "prop-types" ) ,
39
- "react" : require ( "react" ) ,
40
- "react-dom" : require ( "react-dom" ) ,
41
- "react-relay" : require ( "react-relay/classic" ) ,
42
- "react-addons-pure-render-mixin" : require ( "react-addons-pure-render-mixin" ) ,
43
- "@rails/ujs" : require ( "@rails/ujs" ) ,
44
-
45
- "components/AnonymousNavigation" : require ( "./components/AnonymousNavigation" ) . default ,
46
- "components/billing/BillingHeader" : require ( "./components/billing/BillingHeader" ) . default ,
47
- "components/build/AnnotationsList" : require ( "./components/build/AnnotationsList" ) . default ,
48
- "components/build/AvatarWithUnknownEmailPrompt" : require ( "./components/build/AvatarWithUnknownEmailPrompt" ) . default ,
49
- "components/build/Header" : require ( "./components/build/Header" ) . default ,
50
- "components/build/Show" : require ( "./components/build/Show" ) . default ,
51
- "components/build/StateSwitcher" : require ( "./components/build/StateSwitcher" ) . default ,
52
- "components/icons/BuildState" : require ( "./components/icons/BuildState" ) . default ,
53
- "components/layout/Footer" : require ( "./components/layout/Footer" ) . default ,
54
- "components/layout/Navigation" : require ( "./components/layout/Navigation" ) . default ,
55
- "components/layout/Flashes" : require ( "./components/layout/Flashes" ) . default ,
56
- "components/organization/SettingsMenu" : require ( "./components/organization/SettingsMenu" ) . default ,
57
- "components/pipeline/Header" : require ( "./components/pipeline/Header" ) . default ,
58
- "components/pipeline/Teams" : require ( "./components/pipeline/Teams" ) . default ,
59
- "components/pipeline/SettingsMenu" : require ( "./components/pipeline/SettingsMenu" ) . default ,
60
- "components/shared/BetaBadge" : require ( "./components/shared/BetaBadge" ) . default ,
61
- "components/shared/BuildStatusDescription" : require ( "./components/shared/BuildStatusDescription" ) . default ,
62
- "components/shared/Button" : require ( "./components/shared/Button" ) . default ,
63
- "components/shared/CollapsableFormField" : require ( "./components/shared/CollapsableFormField" ) . default ,
64
- "components/shared/Duration" : require ( "./components/shared/Duration" ) . default ,
65
- "components/shared/Dialog" : require ( "./components/shared/Dialog" ) . default ,
66
- "components/shared/Emojify" : require ( "./components/shared/Emojify" ) . default ,
67
- "components/shared/FormMarkdownEditorField" : require ( "./components/shared/FormMarkdownEditorField" ) . default ,
68
- "components/shared/FormYAMLEditorField" : require ( "./components/shared/FormYAMLEditorField" ) . default ,
69
- "components/shared/FormRadioGroup" : require ( "./components/shared/FormRadioGroup" ) . default ,
70
- "components/shared/FormTextarea" : require ( "./components/shared/FormTextarea" ) . default ,
71
- "components/shared/FormTextField" : require ( "./components/shared/FormTextField" ) . default ,
72
- "components/shared/FriendlyTime" : require ( "./components/shared/FriendlyTime" ) . default ,
73
- "components/shared/Icon" : require ( "./components/shared/Icon" ) . default ,
74
- "components/shared/ImageUploadField" : require ( "./components/shared/ImageUploadField" ) . default ,
75
- "components/shared/UserAvatar" : require ( "./components/shared/UserAvatar" ) . default ,
76
- "components/user/BuildCountsBreakdown" : require ( "./components/user/BuildCountsBreakdown" ) . default ,
77
- "components/user/SettingsMenu" : require ( "./components/user/SettingsMenu" ) . default ,
78
- "components/user/graphql/schema" : require ( "./components/user/graphql/schema" ) ,
79
- "lib/AssetUploader" : require ( "./lib/AssetUploader" ) . default ,
80
- "lib/Bugsnag" : require ( "./lib/Bugsnag" ) ,
81
- "lib/builds" : require ( "./lib/builds" ) ,
82
- "lib/commits" : require ( "./lib/commits" ) ,
83
- "lib/date" : require ( "./lib/date" ) ,
84
- "lib/jobCommandOneliner" : require ( "./lib/jobCommandOneliner" ) . default ,
85
- "lib/jobs" : require ( "./lib/jobs" ) ,
86
- "lib/Logger" : require ( "./lib/Logger" ) . default ,
87
- "lib/number" : require ( "./lib/number" ) ,
88
- "lib/parseEmoji" : require ( "./lib/parseEmoji" ) . default ,
89
- "lib/reactRenderer" : require ( "./lib/reactRenderer" ) . default ,
90
- "lib/RelayPreloader" : require ( "./lib/RelayPreloader" ) . default ,
91
- "lib/RelayModernPreloader" : require ( "./lib/RelayModernPreloader" ) . default ,
92
- "lib/BootstrapTooltipMixin" : require ( './lib/BootstrapTooltipMixin' ) . default ,
93
- "queries/Agent" : require ( "./queries/Agent" ) ,
94
- "queries/Build" : require ( "./queries/Build" ) ,
95
- "queries/Organization" : require ( "./queries/Organization" ) ,
96
- "queries/Pipeline" : require ( "./queries/Pipeline" ) ,
97
- "queries/PipelineSchedule" : require ( "./queries/PipelineSchedule" ) ,
98
- "queries/Team" : require ( "./queries/Team" ) ,
99
- "queries/Viewer" : require ( "./queries/Viewer" ) ,
100
- "stores/FlashesStore" : require ( "./stores/FlashesStore" ) . default ,
101
- "stores/CentrifugeStore" : require ( "./stores/CentrifugeStore" ) . default ,
102
- "stores/PusherStore" : require ( "./stores/PusherStore" ) . default
103
- } ,
104
-
105
- require : function ( module ) {
106
- const exported = window [ "Webpack" ] . modules [ module ] ;
107
-
108
- if ( exported ) {
109
- return exported ;
110
- }
111
-
112
- throw "No webpack module exported `" + module + "`" ;
28
+ window [ "require" ] = function ( module ) {
29
+ const exported = window [ "require" ] . modules [ module ] ;
30
+
31
+ if ( exported ) {
32
+ return exported ;
113
33
}
34
+
35
+ throw "No webpack module exported `" + module + "`" ;
36
+ } ;
37
+
38
+ window [ "require" ] . modules = {
39
+ "autosize" : require ( "autosize" ) ,
40
+ "classnames" : require ( "classnames" ) ,
41
+ "create-react-class" : require ( "create-react-class" ) ,
42
+ "credit-card-type" : require ( "credit-card-type" ) ,
43
+ "escape-html" : require ( "escape-html" ) ,
44
+ "eventemitter3" : require ( "eventemitter3" ) ,
45
+ "moment" : require ( "moment" ) ,
46
+ "object-assign" : require ( "object-assign" ) ,
47
+ "prop-types" : require ( "prop-types" ) ,
48
+ "react" : require ( "react" ) ,
49
+ "react-dom" : require ( "react-dom" ) ,
50
+ "react-relay" : require ( "react-relay/classic" ) ,
51
+ "react-addons-pure-render-mixin" : require ( "react-addons-pure-render-mixin" ) ,
52
+ "@rails/ujs" : require ( "@rails/ujs" ) ,
53
+
54
+ "app/components/AnonymousNavigation" : require ( "./components/AnonymousNavigation" ) . default ,
55
+ "app/components/billing/BillingHeader" : require ( "./components/billing/BillingHeader" ) . default ,
56
+ "app/components/build/AnnotationsList" : require ( "./components/build/AnnotationsList" ) . default ,
57
+ "app/components/build/AvatarWithUnknownEmailPrompt" : require ( "./components/build/AvatarWithUnknownEmailPrompt" ) . default ,
58
+ "app/components/build/Header" : require ( "./components/build/Header" ) . default ,
59
+ "app/components/build/Show" : require ( "./components/build/Show" ) . default ,
60
+ "app/components/build/StateSwitcher" : require ( "./components/build/StateSwitcher" ) . default ,
61
+ "app/components/icons/BuildState" : require ( "./components/icons/BuildState" ) . default ,
62
+ "app/components/layout/Footer" : require ( "./components/layout/Footer" ) . default ,
63
+ "app/components/layout/Navigation" : require ( "./components/layout/Navigation" ) . default ,
64
+ "app/components/layout/Flashes" : require ( "./components/layout/Flashes" ) . default ,
65
+ "app/components/organization/SettingsMenu" : require ( "./components/organization/SettingsMenu" ) . default ,
66
+ "app/components/pipeline/Header" : require ( "./components/pipeline/Header" ) . default ,
67
+ "app/components/pipeline/Teams" : require ( "./components/pipeline/Teams" ) . default ,
68
+ "app/components/pipeline/SettingsMenu" : require ( "./components/pipeline/SettingsMenu" ) . default ,
69
+ "app/components/shared/BetaBadge" : require ( "./components/shared/BetaBadge" ) . default ,
70
+ "app/components/shared/BuildStatusDescription" : require ( "./components/shared/BuildStatusDescription" ) . default ,
71
+ "app/components/shared/Button" : require ( "./components/shared/Button" ) . default ,
72
+ "app/components/shared/CollapsableFormField" : require ( "./components/shared/CollapsableFormField" ) . default ,
73
+ "app/components/shared/Duration" : require ( "./components/shared/Duration" ) . default ,
74
+ "app/components/shared/Dialog" : require ( "./components/shared/Dialog" ) . default ,
75
+ "app/components/shared/Emojify" : require ( "./components/shared/Emojify" ) . default ,
76
+ "app/components/shared/FormMarkdownEditorField" : require ( "./components/shared/FormMarkdownEditorField" ) . default ,
77
+ "app/components/shared/FormYAMLEditorField" : require ( "./components/shared/FormYAMLEditorField" ) . default ,
78
+ "app/components/shared/FormRadioGroup" : require ( "./components/shared/FormRadioGroup" ) . default ,
79
+ "app/components/shared/FormTextarea" : require ( "./components/shared/FormTextarea" ) . default ,
80
+ "app/components/shared/FormTextField" : require ( "./components/shared/FormTextField" ) . default ,
81
+ "app/components/shared/FriendlyTime" : require ( "./components/shared/FriendlyTime" ) . default ,
82
+ "app/components/shared/Icon" : require ( "./components/shared/Icon" ) . default ,
83
+ "app/components/shared/ImageUploadField" : require ( "./components/shared/ImageUploadField" ) . default ,
84
+ "app/components/shared/UserAvatar" : require ( "./components/shared/UserAvatar" ) . default ,
85
+ "app/components/user/BuildCountsBreakdown" : require ( "./components/user/BuildCountsBreakdown" ) . default ,
86
+ "app/components/user/SettingsMenu" : require ( "./components/user/SettingsMenu" ) . default ,
87
+ "app/components/user/graphql/schema" : require ( "./components/user/graphql/schema" ) ,
88
+ "app/lib/AssetUploader" : require ( "./lib/AssetUploader" ) . default ,
89
+ "app/lib/Bugsnag" : require ( "./lib/Bugsnag" ) ,
90
+ "app/lib/builds" : require ( "./lib/builds" ) ,
91
+ "app/lib/commits" : require ( "./lib/commits" ) ,
92
+ "app/lib/date" : require ( "./lib/date" ) ,
93
+ "app/lib/jobCommandOneliner" : require ( "./lib/jobCommandOneliner" ) . default ,
94
+ "app/lib/jobs" : require ( "./lib/jobs" ) ,
95
+ "app/lib/Logger" : require ( "./lib/Logger" ) . default ,
96
+ "app/lib/number" : require ( "./lib/number" ) ,
97
+ "app/lib/parseEmoji" : require ( "./lib/parseEmoji" ) . default ,
98
+ "app/lib/reactRenderer" : require ( "./lib/reactRenderer" ) . default ,
99
+ "app/lib/RelayPreloader" : require ( "./lib/RelayPreloader" ) . default ,
100
+ "app/lib/RelayModernPreloader" : require ( "./lib/RelayModernPreloader" ) . default ,
101
+ "app/lib/BootstrapTooltipMixin" : require ( './lib/BootstrapTooltipMixin' ) . default ,
102
+ "app/queries/Agent" : require ( "./queries/Agent" ) ,
103
+ "app/queries/Build" : require ( "./queries/Build" ) ,
104
+ "app/queries/Organization" : require ( "./queries/Organization" ) ,
105
+ "app/queries/Pipeline" : require ( "./queries/Pipeline" ) ,
106
+ "app/queries/PipelineSchedule" : require ( "./queries/PipelineSchedule" ) ,
107
+ "app/queries/Team" : require ( "./queries/Team" ) ,
108
+ "app/queries/Viewer" : require ( "./queries/Viewer" ) ,
109
+ "app/stores/FlashesStore" : require ( "./stores/FlashesStore" ) . default ,
110
+ "app/stores/CentrifugeStore" : require ( "./stores/CentrifugeStore" ) . default ,
111
+ "app/stores/PusherStore" : require ( "./stores/PusherStore" ) . default
114
112
} ;
115
113
116
114
// Configure relay if we have access to the GraphQL URL
0 commit comments