
bootstrap源
文章平均质量分 91
daisy_Hawen
身体和灵魂都需要奔跑 欢迎关注我的Githttps://github.com/daisyHawen
展开
-
琐碎记录——javascript里function之前加上感叹号 '+ '
今天在看bootstrap的源码,然后看到开头就懵了 +function ($) { var version = $.fn.jquery.split(' ')[0].split('.') if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {原创 2016-11-27 11:14:49 · 730 阅读 · 0 评论 -
bootstrap源码阅读(一)——modal原理
虽然bootstrap主要是css,但是我还是从bootstrap的js入手进行学习 #检查jquery,以及jquery版本/*typeof检查是否存在jquery对象*/ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') } /*检查jquery版本原创 2016-12-12 22:04:31 · 6447 阅读 · 0 评论