I created the following plunker:

我创建了以下plunker:

http://plnkr.co/edit/c0pGkinMpXBBT1dpLxAo?p=preview

But this gives me an error with the line where I try to include a reference to ui-bootstrap

但这给了我一个错误,我尝试包含对ui-bootstrap的引用

  <head>
    <meta charset="utf-8" />
    <title>AngularJS Plunker</title>
    <script>document.write('<base href="' + document.location + '" />');</script>
    <link rel="stylesheet" href="style.css" />
    <script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script>
    <script data-require="angular.js@1.0.x" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js" data-semver="1.0.7"></script>
    <script src="//github.com/angular-ui/bootstrap/blob/gh-pages/ui-bootstrap-0.4.0.js"></script>
    <script src="app.js"></script>
  </head>

I am not very experienced with creating plunkers. Can someone give me some advice as to what I am doing wrong

我对创建掠夺者的经验不是很丰富。有人可以给我一些关于我做错了什么的建议

1 个解决方案

#1


5

You can find and add external libraries from the right side bar in most cases (from the little button that looks like a book), but I think your error stems from that you're linking to the GitHub page instead of the actual script.

在大多数情况下,您可以从右侧栏中找到并添加外部库(从看起来像书的小按钮),但我认为您的错误源于您链接到GitHub页面而不是实际脚本。

The correct link should be: https://raw.github.com/angular-ui/bootstrap/gh-pages/ui-bootstrap-0.4.0.js

正确的链接应该是:https://raw.github.com/angular-ui/bootstrap/gh-pages/ui-bootstrap-0.4.0.js

更多相关文章

  1. 使用bootstrap模式框的自定义选择框错误
  2. element.replaceWith在自定义指令的链接中仅在第一次调用时工作
  3. $.each遍历JSON字符串和 Uncaught TypeError: Cannot use 'in' o
  4. 2_python连接MariaDB错误
  5. 获取错误“ValueError:int()的无效文字,基数为10:'3128;'在运行Tensor
  6. GIS / Gdal / OSGeos在Windows上的django中导入错误
  7. Python第十天 print >> f,和fd.write()的区别 stdout的buffer 标
  8. Hive中使用Python实现Transform时遇到Broken pipe错误排查
  9. 'module'对象没有属性'views' django错误

随机推荐

  1. 开源公司IronTec将推动PHP进驻Android平
  2. Android/iOS内嵌Unity开发示例
  3. Kotlin在AndroidStudio中的环境搭建以及
  4. 【Android自助餐】Handler消息机制完全解
  5. Android数据库高手秘籍(零)——前言[转载
  6. android 系统服务
  7. adb设备连接以及文件拷贝
  8. Android与HTML JavaScript交互
  9. Android 游戏开发的一些基础和经验
  10. android sqlite 介绍