上一页 1 ··· 220 221 222 223 224 225 226 227 228 ··· 399 下一页
摘要: How to Create a Basic Plugin Sometimes you want to make a piece of functionality available throughout your code. For example, perhaps you want a singl 阅读全文
posted @ 2019-07-01 10:16 ChuckLu 阅读(150) 评论(0) 推荐(0)
摘要: npm notice created a lockfile as package-lock.json. You should commit this file. https://docs.npmjs.com/files/package-lock.json https://stackoverflow. 阅读全文
posted @ 2019-07-01 09:39 ChuckLu 阅读(5006) 评论(3) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-07-01 02:26 ChuckLu 阅读(1) 评论(0) 推荐(0)
摘要: 测试 修改https://github.com/tkvw/jQuery-File-Upload/blob/master/basic-plus.html 给p增加id和class,在页面加载后, 打开浏览器的console,然后手动执行,然后单击图片。会发现这个事件是会触发的 $(".preview" 阅读全文
posted @ 2019-07-01 01:27 ChuckLu 阅读(473) 评论(0) 推荐(0)
摘要: https://tkvw.github.io/jQuery-File-Upload/basic-plus-editor.html 最开始初始化jquery.ui.widget.js中的factory( jQuery ); jquery.fileupload.js中 1. }(function ($) 阅读全文
posted @ 2019-07-01 00:47 ChuckLu 阅读(361) 评论(0) 推荐(0)
摘要: 先触发_onChange【jquery.fileupload.js】 _onChange: function (e) { var that = this, data = { fileInput: $(e.target), form: $(e.target.form) }; this._getFile 阅读全文
posted @ 2019-06-30 18:36 ChuckLu 阅读(1992) 评论(0) 推荐(0)
摘要: 设置断点之后,查看的时候,注意右侧栏。 在调试按钮下方,有一个watch和call stack, 阅读全文
posted @ 2019-06-30 18:03 ChuckLu 阅读(6248) 评论(0) 推荐(0)
摘要: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply The apply() method calls a function with a given this 阅读全文
posted @ 2019-06-30 17:31 ChuckLu 阅读(250) 评论(0) 推荐(0)
摘要: https://developers.google.com/web/tools/chrome-devtools/javascript/step-code step over next function call Executes whatever happens on the next line a 阅读全文
posted @ 2019-06-30 16:48 ChuckLu 阅读(190) 评论(0) 推荐(0)
摘要: 以https://github.com/blueimp/jQuery-File-Upload/blob/master/basic-plus.html为例 注释掉load-image.all.min.js jquery.fileupload-image.js:279 Uncaught TypeErro 阅读全文
posted @ 2019-06-30 16:00 ChuckLu 阅读(1194) 评论(0) 推荐(0)
上一页 1 ··· 220 221 222 223 224 225 226 227 228 ··· 399 下一页