码迷,mamicode.com
首页 >  
搜索关键字:script scriptreplay    ( 23182个结果)
【JavaScript】 模拟JQuery的连续调用函数
连续调用,了解调用主体 var zhangsan = { smoke: function () { console.log("Smoking..."); return this; }, drink: function () { console.log("drinking..."); return t ...
分类:编程语言   时间:2019-11-07 14:57:47    阅读次数:95
Flask:Flask-script插件
Flask-Script插件扩展提供向Flask插入外部脚本的功能,包括一个开发用的服务器,一个定制的python shell,设置数据库的脚本,cronjobs,及其它运行在web应用之外的命令行任务,使得脚本与系统分开 Flask-Script与Flask本身的工作方式类似,只需要定义和添加从命 ...
分类:其他好文   时间:2019-11-07 12:53:21    阅读次数:64
华为静态、动态NAT地址转换及静态端口映射
Demo1:静态NAT地址转换eNSP中拓扑:SW1:<Huawei>sys[Huawei]sysnameSW1[SW1]vlanbatch10203040Info:Thisoperationmaytakeafewseconds.Pleasewaitforamoment...done.[SW1]intvlanif10[SW1-Vlanif10]ipadd192.168.10.124[S
分类:其他好文   时间:2019-11-07 09:47:49    阅读次数:819
mint UI MessageBox 使用
一、全局注册 1.在main.js中引入 //引入 import { MessageBox } from 'mint-ui'; //全局使用,挂载到原型上 Vue.prototype.$messagebox = MessageBox Vue.prototype.$messagebox = Messa ...
分类:其他好文   时间:2019-11-06 23:16:02    阅读次数:438
svg和css3创建环形渐变进度条
在负责的项目中,有一个环形渐变读取进度的效果的需求,于是在网上查阅相关资料整理一下。代码如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="https ...
分类:Web程序   时间:2019-11-06 21:17:07    阅读次数:111
持续集成学习9 jenkins执行脚本
一、配置 1、首先在slave节点上写一脚本 [root@node1 script]# cat /application/script/test.sh #!/bin/bash echo "hehe" echo "$1" ...
分类:其他好文   时间:2019-11-06 18:40:35    阅读次数:65
7道简单的 JavaScript 面试题
1. 意外的全局变量 问题 在以下代码中,typeof a和typeof b的值分别是什么: function foo() { let a = b = 0; a++; return a; } foo(); typeof a; // => ??? typeof b; // => ??? 答案 让我们仔 ...
分类:编程语言   时间:2019-11-06 17:01:35    阅读次数:116
JavaScript 错误
try 语句测试代码块的错误。 catch 语句处理错误。 throw 语句创建自定义错误。 JavaScript错误 当 JavaScript 引擎执行 JavaScript 代码时,会发生各种错误: 可能是语法错误,通常是程序员造成的编码错误或错别字。 可能是拼写错误或语言中缺少的功能(可能由于 ...
分类:编程语言   时间:2019-11-06 16:29:36    阅读次数:128
https 使用百度地图
http改为https,在链接加入&s=1 https网站使用: <script type="text/javascript" src="https://api.map.baidu.com/api?v=3.0&ak=您的密钥&s=1"> http使用: <script type="text/java ...
分类:Web程序   时间:2019-11-06 13:43:41    阅读次数:136
Canvas鼠标点击特效(富强、民主...)、收藏
<script> /* 鼠标特效 */ var a_idx = 0; jQuery(document).ready(function($) { $("body").click(function(e) { var a = new Array("?富强?","?民主?","?文明?","?和谐?","? ...
分类:其他好文   时间:2019-11-06 13:39:20    阅读次数:122
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!