下面是一个Common的Solution

'use strict';

    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,
// Rhino, and plain browser loading.
if (typeof define === 'function' && define.amd) {
...
} else if (typeof exports !== 'undefined') {
...
} else {
...
}

最新文章

  1. spring配置文件
  2. JVM配置
  3. Don't Block on Async Code【转】
  4. 2014牡丹江网络赛ZOJPretty Poem(暴力枚举)
  5. KNN算法与Kd树
  6. 显示段落p中的前半部分内容 剩下的用三个点代替,点击更多时显示所有内容
  7. 9.css背景
  8. android常见错误-The container 'Android Dependencies' references non existing library
  9. oracle之分组内的字符串连接
  10. shell中的declare命令
  11. bzoj千题计划252:bzoj1095: [ZJOI2007]Hide 捉迷藏
  12. spring boot 自定义sql分页查询
  13. DataSnap 多层返回数据集分析FireDAC JSON
  14. 英语口语练习系列-C10-up and down
  15. angular4 富文本编辑器
  16. forEach 如何提前终止 跳出运行
  17. v$instance如何生成
  18. USER 版本与ENG 版本差异
  19. libpcap详解
  20. SQL SERVER 扩展属性的操作方法

热门文章

  1. java常用八大排序法
  2. java GC是在什么时候,对什么东西,做了什么事情?
  3. Anaconda 安装教程(Win10环境) Tensorflow安装
  4. MyBatis中动态SQL语句完成多条件查询
  5. 玩转Jquery
  6. sh 脚本重启/更新 Tomcat 项目
  7. Arduino Uno 在win7 64位下的驱动问题
  8. Codeforces #536 div2 E (1106E)Lunar New Year and Red Envelopes (DP)
  9. Spring_01 spring容器、控制反转(IOC)、依赖注入(DI)
  10. HDOJ 4802 GPA