{"action":"created","issue":{"url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1701","labels_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1701/labels{/name}","comments_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1701/comments","events_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1701/events","html_url":"https://github.com/Modernizr/Modernizr/issues/1701","id":109874938,"number":1701,"title":"Modernizr 3 dev build: define is not defined","user":{"login":"mrhota","id":403641,"avatar_url":"https://avatars.githubusercontent.com/u/403641?v=3","gravatar_id":"","url":"https://api.github.com/users/mrhota","html_url":"https://github.com/mrhota","followers_url":"https://api.github.com/users/mrhota/followers","following_url":"https://api.github.com/users/mrhota/following{/other_user}","gists_url":"https://api.github.com/users/mrhota/gists{/gist_id}","starred_url":"https://api.github.com/users/mrhota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrhota/subscriptions","organizations_url":"https://api.github.com/users/mrhota/orgs","repos_url":"https://api.github.com/users/mrhota/repos","events_url":"https://api.github.com/users/mrhota/events{/privacy}","received_events_url":"https://api.github.com/users/mrhota/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-05T20:03:38Z","updated_at":"2015-10-06T05:58:28Z","closed_at":"2015-10-06T03:25:29Z","body":"I'm seeing this on both v3.modernizr.com and modernizr.com.\r\n\r\nSelecting the development build on either site produces source with the call\r\n\r\n```\r\ndefine(\"test/network/beacon\", function(){});\r\n```\r\n\r\nHere's one URL:\r\nhttp://v3.modernizr.com/download/#-adownload-ambientlight-animation-apng-appearance-applicationcache-audio-audioloop-audiopreload-backgroundblendmode-backgroundcliptext-backgroundsize-batteryapi-beacon-bgpositionshorthand-bgpositionxy-bgrepeatspace_bgrepeatround-bgsizecover-blobconstructor-bloburls-blobworkers-borderimage-borderradius-boxshadow-boxsizing-canvas-canvasblending-canvastext-canvaswinding-capture-checked-classlist-contains-contenteditable-contextmenu-cookies-cors-createelementattrs_createelement_attrs-cssall-cssanimations-csscalc-csschunit-csscolumns-cssescape-cssexunit-cssfilters-cssgradients-csshyphens_softhyphens_softhyphensfind-cssinvalid-cssmask-csspointerevents-csspositionsticky-csspseudoanimations-csspseudotransitions-cssreflections-cssremunit-cssresize-cssscrollbar-csstransforms-csstransforms3d-csstransitions-cssvalid-cssvhunit-cssvmaxunit-cssvminunit-cssvwunit-cubicbezierrange-customevent-customprotocolhandler-dart-datachannel-datalistelem-dataset-datauri-dataview-dataworkers-details-devicemotion_deviceorientation-directory-display_runin-displaytable-documentfragment-draganddrop-ellipsis-emoji-es5-es5array-es5date-es5function-es5object-es5string-es5syntax-es5undefined-es6array-es6math-es6number-es6object-es6string-eventlistener-eventsource-exiforientation-fileinput-filereader-filesystem-flash-flexbox-flexboxlegacy-flexboxtweener-flexwrap-fontface-formattribute-formvalidation-framed-fullscreen-gamepads-generatedcontent-generators-geolocation-getrandomvalues-getusermedia-hashchange-hidden-hiddenscroll-history-hsla-htmlimports-ie8compat-indexeddb-indexeddbblob-inlinesvg-input-inputformaction-inputformenctype-inputformmethod-inputformtarget-inputtypes-intl-jpegxr-json-lastchild-localizednumber-localstorage-lowbandwidth-lowbattery-mathml-mediaqueries-microdata-multiplebgs-mutationobserver-notification-nthchild-objectfit-olreversed-oninput-opacity-outputelem-overflowscrolling-pagevisibility-peerconnection-performance-picture-placeholder-pointerevents-pointerlock-postmessage-preserve3d-progressbar_meter-promises-proximity-queryselector-quotamanagement-regions-requestanimationframe-requestautocomplete-rgba-ruby-sandbox-scriptasync-scriptdefer-seamless-search-serviceworker-sessionstorage-shapes-sharedworkers-siblinggeneral-sizes-smil-speechrecognition-speechsynthesis-srcdoc-srcset-strictmode-stylescoped-subpixelfont-supports-svg-svgasimg-svgclippaths-svgfilters-svgforeignobject-target-template-templatestrings-textalignlast-textareamaxlength-textshadow-texttrackapi_track-time-todataurljpeg_todataurlpng_todataurlwebp-touchevents-transferables-typedarrays-unicode-unicoderange-unknownelements-urlparser-userdata-userselect-vibrate-video-videoautoplay-videoloop-videopreload-vml-webaudio-webgl-webglextensions-webintents-webp-webpalpha-webpanimation-webplossless_webp_lossless-websockets-websocketsbinary-websqldatabase-webworkers-willchange-wrapflow-xhr2-xhrresponsetype-xhrresponsetypearraybuffer-xhrresponsetypeblob-xhrresponsetypedocument-xhrresponsetypejson-xhrresponsetypetext-addtest-domprefixes-hasevent-mq-prefixed-prefixedcss-prefixes-shiv-testallprops-testprop-teststyles-dontmin\r\n\r\nHere's the other:\r\nhttps://modernizr.com/download?adownload-ambientlight-animation-apng-appearance-applicationcache-audio-audioloop-audiopreload-backdropfilter-backgroundblendmode-backgroundcliptext-backgroundsize-batteryapi-beacon-bgpositionshorthand-bgpositionxy-bgrepeatspace_bgrepeatround-bgsizecover-blobconstructor-bloburls-blobworkers-borderimage-borderradius-boxshadow-boxsizing-canvas-canvasblending-canvastext-canvaswinding-capture-checked-classlist-contains-contenteditable-contextmenu-cookies-cors-createelementattrs_createelement_attrs-cssall-cssanimations-csscalc-csschunit-csscolumns-cssescape-cssexunit-cssfilters-cssgradients-csshyphens_softhyphens_softhyphensfind-cssinvalid-cssmask-csspointerevents-csspositionsticky-csspseudoanimations-csspseudotransitions-cssreflections-cssremunit-cssresize-cssscrollbar-csstransforms-csstransforms3d-csstransitions-cssvalid-cssvhunit-cssvmaxunit-cssvminunit-cssvwunit-cubicbezierrange-customevent-customprotocolhandler-dart-datachannel-datalistelem-dataset-datauri-dataview-dataworkers-details-devicemotion_deviceorientation-directory-display_runin-displaytable-documentfragment-ellipsis-emoji-es5-es5array-es5date-es5function-es5object-es5string-es5syntax-es5undefined-es6array-es6math-es6number-es6object-es6string-eventlistener-eventsource-exiforientation-fetch-fileinput-filereader-filesystem-flash-flexbox-flexboxlegacy-flexboxtweener-flexwrap-fontface-formattribute-formvalidation-framed-fullscreen-gamepads-generatedcontent-generators-geolocation-getrandomvalues-getusermedia-hashchange-hidden-hiddenscroll-history-hsla-htmlimports-ie8compat-indexeddb-indexeddbblob-inlinesvg-input-inputformaction-inputformenctype-inputformmethod-inputformtarget-inputtypes-intl-jpeg2000-jpegxr-json-lastchild-localizednumber-localstorage-lowbandwidth-lowbattery-matchmedia-mathml-mediaqueries-microdata-multiplebgs-mutationobserver-notification-nthchild-objectfit-olreversed-oninput-opacity-outputelem-overflowscrolling-pagevisibility-peerconnection-performance-picture-placeholder-pointerevents-pointerlock-postmessage-preserve3d-progressbar_meter-promises-proximity-queryselector-quotamanagement-regions-requestanimationframe-requestautocomplete-rgba-ruby-sandbox-scriptasync-scriptdefer-seamless-search-serviceworker-sessionstorage-shapes-sharedworkers-siblinggeneral-sizes-smil-speechrecognition-speechsynthesis-srcdoc-srcset-strictmode-stylescoped-subpixelfont-supports-svg-svgasimg-svgclippaths-svgfilters-svgforeignobject-target-template-templatestrings-textalignlast-textareamaxlength-textshadow-texttrackapi_track-time-todataurljpeg_todataurlpng_todataurlwebp-touchevents-transferables-typedarrays-unicode-unicoderange-unknownelements-urlparser-userdata-userselect-vibrate-video-videoautoplay-videoloop-videopreload-vml-webaudio-webgl-webglextensions-webintents-webp-webpalpha-webpanimation-webplossless_webp_lossless-websockets-websocketsbinary-websqldatabase-webworkers-willchange-wrapflow-xhr2-xhrresponsetype-xhrresponsetypearraybuffer-xhrresponsetypeblob-xhrresponsetypedocument-xhrresponsetypejson-xhrresponsetypetext-addtest-atrule-domprefixes-hasevent-mq-prefixed-prefixedcss-prefixedcssvalue-prefixes-setclasses-shiv-testallprops-testprop-teststyles"},"comment":{"url":"https://api.github.com/repos/Modernizr/Modernizr/issues/comments/145749217","html_url":"https://github.com/Modernizr/Modernizr/issues/1701#issuecomment-145749217","issue_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1701","id":145749217,"user":{"login":"ryanseddon","id":143402,"avatar_url":"https://avatars.githubusercontent.com/u/143402?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanseddon","html_url":"https://github.com/ryanseddon","followers_url":"https://api.github.com/users/ryanseddon/followers","following_url":"https://api.github.com/users/ryanseddon/following{/other_user}","gists_url":"https://api.github.com/users/ryanseddon/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanseddon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanseddon/subscriptions","organizations_url":"https://api.github.com/users/ryanseddon/orgs","repos_url":"https://api.github.com/users/ryanseddon/repos","events_url":"https://api.github.com/users/ryanseddon/events{/privacy}","received_events_url":"https://api.github.com/users/ryanseddon/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T05:58:28Z","updated_at":"2015-10-06T05:58:28Z","body":"I'm not seeing this in either firefox or chrome on osx with your linked build above\r\n\r\n- Firefox open with codepen.io: https://codepen.io/anon/pen/xwdRva\r\n- Chrome open in codepen.io: https://codepen.io/anon/pen/BoRpBj\r\n\r\nThe build tool should be stripping the define from all feature-detect files before creating the final built file."}}