第一周即将结束,经历了很多在此之前都没有过的经历,从未想过自己有一天会在江南的小镇上一间屋子一起学习计算机领域的各种知识,给我留下了非常深刻的印象.
在此,从技术层面总结一下自己一周的学习概况,算是给后人一个参照,也算是自己对自己的一个总结.
<div class = "content">
</div>
<!-- 模型区M -->
<script id = "interpolationtmpl" type = "text/x-dot-template">
<div>{{=it.msg}}!</div>
<div>{{=it.error}}</div>
<div>{{=it.timeSpend}}</div>
</script>
<!-- 控制器区C -->
<script type="text/javascript">
$.ajax({
type: 'GET',
url: 'http://www.xiuyetang.com/router/xyt.php',
dataType: 'json',
timeout: 300,
context: $('body'),
success: function(data){
var dataInter = data;
var interText = doT.template($("#interpolationtmpl").text());
$(".content").html(interText(dataInter));
console.log(data);
},
error: function(xhr, type){
alert('Ajax error!')
}
});
</script>`
还有一些英文单词,必须熟练记得它的意义:
profile用户文件
profiler 事件探查器/分析器
JS profile 模型
orientation
resolution 分辨率
stack trace 战跟踪
allocation 配置
heap堆
snapshot快照
properties属性
layers view层视角
log日志
preserve保存
timestamps时间戳
blocked阻塞
extentisons扩展
handing 句柄
popup 弹框
restore恢复
formatter格式化
debugging
port forwarding
device setting
network condition
throttling 抑制
user agent用户代理
paint flash 高亮重新载入块
restore
olive 橄榄 褐黄色
tile 瓦片
cyan 青色
frame rate
scrolling
performance
emulate css media
相关文章推荐: