如何解决jquery模块错误?

时间:2016-03-17 00:41:47

标签: javascript jquery intellij-idea bower yeoman

我在IntelijIdea上有一个YeoMan项目,我安装了jquery 2.1.4。我的bower模块用红色加下划线,这意味着在jquery.js的第8284行,我有这个:

enter image description here

第8284行jQuery。有效 - >未解决的写属性

第8066行jQuery。有效 - >未解决的写属性

我试过" bower install " ," bower update ",重启想法

Bower.json

{
  "name": "enterprise-edition",
  "version": "0.0.0",
  "dependencies": {
    "angular": "^1.3.0",
    "bootstrap": "3.3.4",
    "angular-animate": "^1.3.0",
    "angular-cookies": "^1.3.0",
    "angular-resource": "^1.3.0",
    "angular-route": "^1.3.0",
    "angular-sanitize": "^1.3.0",
    "angular-touch": "^1.3.0",
    "angular-ui-router": "~0.2.18",
    "angular-bootstrap": "~1.2.4",
    "fsm-sticky-header": "*",
    "jquery": "2.1.4"
  },
  "devDependencies": {
    "angular-mocks": "^1.3.0"
  },
  "appPath": "app",
  "moduleName": "enterpriseEditionApp",
  "resolutions": {
    "bootstrap": "4.0",
    "angular": "^1.0.8"
  }
}

0 个答案:

没有答案