examples: Add warning for GopherJS building bug

This commit is contained in:
Hajime Hoshi 2016-10-31 12:10:59 +09:00
parent 2ccec18e3a
commit d93d433514

View File

@ -14,4 +14,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<script>
var msg = 'If an inconsistent behavior is found, please try to clear $GOPATH/pkg/*_js directory.' +
' See also https://github.com/gopherjs/gopherjs/issues/440.';
console.warn(msg);
</script>
<script src="main.js"></script> <script src="main.js"></script>