Loading

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 65 下一页
摘要: 1、Ueditor的集成主要通过把UEditor做成一个Component来实现,先上Component代码: 简单解释一下,这个代码干了啥,用DomSanitizer这个组件把本来模板中不合法的Script标签合法化,而且只能通过属性绑定的赋值,才能让模板把它渲染出来。Ng的模板自带XSS过滤,像 阅读全文
posted @ 2017-11-03 15:13 _朝晖 阅读(2655) 评论(0) 推荐(0)
摘要: 其实上一篇里面提到的集成datatables.net就是admin-lte里面的一个子插件,不过这个子插件,他是自带types定义文件的,admin-lte这个东西在DefinitelyTyped里面目前没有人给它写过types定义,不过倒也不难,他也是基于jQuery的扩展,同类典型是Bootst 阅读全文
posted @ 2017-11-03 15:05 _朝晖 阅读(2131) 评论(0) 推荐(0)
摘要: 集成步骤: 1、安装jquery极其扩展插件库ts定义文件 2、页面加载jquery和扩展插件: 3、把扩展插件module加入到tsconfig.app.json的types配置。 4、调用扩展插件的方法: 5、运行ng serve: 这个里面有个问题,就是我们不是直接去尝试调用jquery pl 阅读全文
posted @ 2017-11-02 18:34 _朝晖 阅读(2600) 评论(0) 推荐(0)
摘要: 说在前面,根据Angular官方命名,Angular.js主要指版本1.*,Anuglar主要只v2之后的版本,此处的学习笔记主要是最近学习Angular4过程中的一些记录 1、几条技术线:TypeScript、Angular、JavaScript、打包工具、配置 2、投入工程实践应该有梯度,从简单 阅读全文
posted @ 2017-10-28 13:26 _朝晖 阅读(208) 评论(0) 推荐(0)
摘要: 1 Web安全介绍1 2 SQL注入、盲注1 2.1 SQL注入、盲注概述 1 2.2 安全风险及原因 2 2.3 AppScan扫描建议 2 2.4 应用程序解决方案 4 3 会话标识未更新7 3.1 会话标识未更新概述 7 3.2 安全风险及原因分析 7 3.3 AppScan扫描建议 8 3. 阅读全文
posted @ 2017-10-28 11:58 _朝晖 阅读(11742) 评论(0) 推荐(0)
摘要: 首先phantomjs是作为pyspider的一个外部依赖组件部署的。 apt安装完出现问题: 在/usr/bin/phantomjs的合适位置加上以下设置代码: phantomjs即可正常运行。 参考资料:https://bugs.debian.org/cgi-bin/bugreport.cgi? 阅读全文
posted @ 2017-10-27 15:47 _朝晖 阅读(3071) 评论(1) 推荐(0)
摘要: https://stackoverflow.com/questions/38158318/is-it-possible-to-use-echarts-baidu-with-angular-2-and-typescript code 阅读全文
posted @ 2017-10-23 21:24 _朝晖 阅读(1295) 评论(0) 推荐(0)
摘要: 主要问题就是最后一个HTTP Demo需要angular-in-memory-web-api模块: 这个时候如果用 有可能出不来结果,出现状况是,component从service的相关接口取不到数据,最后看了官方代码,猜测有可能是这个模块的版本问题,于是乎改了package.json: 运行恢复正 阅读全文
posted @ 2017-10-22 14:54 _朝晖 阅读(265) 评论(0) 推荐(0)
摘要: https://www.tuicool.com/articles/mauiMzY One of the first things you'll usually do in a project is to bring in Sass to make working with CSS easier. W 阅读全文
posted @ 2017-10-20 12:49 _朝晖 阅读(809) 评论(0) 推荐(0)
摘要: 原文地址:https://vsavkin.com/writing-angular-2-in-typescript-1fa77c78d8e8 本文转自:http://www.chinacion.cn/article/286.html Angular是用TypeScript编写的。在这篇文章中,我将讨论 阅读全文
posted @ 2017-10-19 15:31 _朝晖 阅读(1236) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 65 下一页