`

Cannot return from outside a function or method

 
阅读更多

最近发现myeclipse10中有几处bug

      比如: Cannot return from outside a function or method

                   onClick="return check();"出现错误等等

      本人略总结了一点小方法,供参考:

      方法一:window -->preferences -->myeclipse -->validation -->javascript validator for Js    files 把Bulid 复选框的勾去掉 就行了

如下图所示:

 

方法二:

在所建立的工程项目中右键单击,找到myeclipse-->Exclude Form Validation单击一下,打上√号,即可看到奇迹出现哦,js的错误已经没了!

图例如下:

 

分享到:
评论

相关推荐

    Google C++ Style Guide(Google C++编程规范)高清PDF

    Parameters to C/C++ functions are either input to the function, output from the function, or both. Input parameters are usually values or const references, while output and input/output parameters ...

    hls.min.js

    (t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(){i(this,t)}return t.isHeader=function(t,e){return e+10;===t[e]&&68;===t[e+1]&&51;===t[e+2]&&t[e+3...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - ADD: Add TFlexPanel.InvalidateControl virtual method which calls from TFlexControl.Invalidate and can be overriden (it is possible now to catch all object invalidation calls). - FIX: The TFlexPanel....

    C# Game Programming Cookbook for Unity 3D - 2014

    4.3.1 A Simple Spawn Controller..................................49 4.3.1.1 Script Breakdown................................52 4.3.2 Trigger Spawner...........................................56 4.3.3 ...

    INTRODUCTION TO PYTHON SCRIPTING FOR MAYA ARTISTS.

    - **Scope:** Scope defines the visibility and accessibility of variables within a function or a module. - **Lambda Expressions:** Lambda expressions are anonymous functions that can be used wherever a...

    微软内部资料-SQL性能优化2

    A stack is an area of memory in which program procedure or function call addresses and parameters are temporarily stored. In Process To run in the same address space. In-process servers are loaded ...

    雷达技术知识

    scan angle of LiDAR to return from a water surface. Return factor is greatest at low scan angles relative to the nadir region of scan. (Maslov, D. V. et. al. (2000). A Shore-based LiDAR for Coastal ...

    Bochs - The cross platform IA-32 (x86) emulator

    - new hdimage method get_capabilities() that can return special flags - vmware3, vmware4 and vvfat classes now return HDIMAGE_HAS_GEOMETRY flag - other disk image modes by default return HDIMAGE_...

    虚拟网卡驱动源代码(原版)

    * we cannot take responsibility for errors or fitness for use. * * $Id: snull.c,v 1.21 2004/11/05 02:36:03 rubini Exp $ */ #include #include #include #include #include #include ...

Global site tag (gtag.js) - Google Analytics