js
wwj_zy
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
js闭包
一、什么是闭包? “官方”的解释是:所谓“闭包”,指的是一个拥有许多变量和绑定了这些变量的环境的表达式(通常是一个函数),因而这些变量也是该表达式的一部分。 相信很少有人能直接看懂这句话,因为他描述的太学术。我想用如何在Javascript中创建一个闭包来告诉你什么是闭包,因为跳过闭包的创建过程直接理解闭包的定义是非 常困难的。看下面这段代码:转载 2015-08-27 16:12:18 · 314 阅读 · 0 评论 -
AngularJS Tutorial(14)from w3school
AngularJS forms and controls can validate input data. Input Validation In the previous chapter, you learned about AngularJS forms and controls. AngularJS forms and controls can provide valida转载 2015-08-04 09:28:28 · 539 阅读 · 0 评论 -
AngularJS Tutorial(8)from w3school
The ng-repeat directive is perfect for displaying tables. Displaying Data in a Table Displaying tables with angular is very simple: AngularJS Example div ng-app="myApp" ng-controller="c转载 2015-08-04 09:23:53 · 1266 阅读 · 0 评论 -
win7下面搭建angularjs开发环境
1、安装git,添加环境变量 2、github上有一个比较好的纯净AngularJs app的种子,可以去github下载,地址:https://github.com/glitchtank/angular-seed-master,也可以使用 git clone到本地,解压 3、安装nodejs,添加环境变量 4、打开cmd,进入到angular-seed-master-master目录,然原创 2015-08-04 15:06:40 · 2396 阅读 · 0 评论 -
AngularJS Tutorial(1)from w3school
This Tutorial This tutorial is specially designed to help you learn AngularJS as quickly and efficiently as possible. First, you will learn the basics of AngularJS: directives, expressions, filt转载 2015-08-04 09:17:30 · 640 阅读 · 0 评论 -
AngularJS Tutorial(7)from w3school
$http is an AngularJS service for reading data from remote servers. Providing Data The following data can be provided by a web server: http://www.w3schools.com/angular/customers.php { "r转载 2015-08-04 09:23:12 · 571 阅读 · 0 评论 -
AngularJS Tutorial(10)from w3school
AngularJS has directives for binding application data to the attributes of HTML DOM elements. The ng-disabled Directive The ng-disabled directive binds AngularJS application data to the disabl转载 2015-08-04 09:25:20 · 719 阅读 · 0 评论 -
AngularJS Tutorial(13)from w3school
An AngularJS form is a collection of input controls. HTML Controls HTML input elements are called HTML controls: input elementsselect elementsbutton elementstextarea elements HTML Forms转载 2015-08-04 09:27:44 · 520 阅读 · 0 评论 -
AngularJS Tutorial(16)from w3school
Bootstrap is a popular style sheet. This chapter demonstrates how to use it with AngularJS. Bootstrap To include Bootstrap in your AngularJS application, add the following line to the head of转载 2015-08-04 09:30:07 · 483 阅读 · 0 评论 -
在web page中嵌入ace editor
1、在github上获取资源: git clone https://github.com/ajaxorg/ace-builds.git 2、导入js插件: 3、定义div,关联editor: 4、定义editor,自动补全:原创 2015-09-17 11:35:02 · 1249 阅读 · 0 评论 -
AngularJS Tutorial(3)from w3school
AngularJS binds data to HTML using Expressions. AngularJS Expressions AngularJS expressions are written inside double braces: {{ expression }}. AngularJS expressions binds data to HTML the sa转载 2015-08-04 09:19:59 · 771 阅读 · 0 评论 -
AngularJS Tutorial(6)from w3school
Filters can be added to expressions and directives using a pipe character. AngularJS Filters AngularJS filters can be used to transform data: Filter Description currency Format a转载 2015-08-04 09:22:32 · 671 阅读 · 0 评论 -
AngularJS Tutorial(2)from w3school
AngularJS is a JavaScript framework. It can be added to an HTML page with a tag. AngularJS extends HTML attributes with Directives, and binds data to HTML with Expressions. AngularJS is a Ja转载 2015-08-04 09:18:34 · 575 阅读 · 0 评论 -
AngularJS Tutorial(5)from w3school
AngularJS controllers control the data of AngularJS applications. AngularJS controllers are regular JavaScript Objects. AngularJS Controllers AngularJS applications are controlled by controll转载 2015-08-04 09:21:44 · 640 阅读 · 0 评论 -
AngularJS Tutorial(9)from w3school
The code from the previous chapter can also be used to read from databases. Fetching Data From a PHP Server Running MySQL AngularJS Example div ng-app="myApp" ng-controller="customersCtr转载 2015-08-04 09:24:34 · 638 阅读 · 0 评论 -
AngularJS Tutorial(11)from w3school
AngularJS has its own HTML events directives. The ng-click Directive The ng-click directive defines an AngularJS click event. AngularJS Example div ng-app="" ng-controller="myCtrl">转载 2015-08-04 09:26:07 · 482 阅读 · 0 评论 -
AngularJS Tutorial(12)from w3school
An AngularJS module defines an application. A module is a container for the different parts of an application. All application controllers should belong to a module. A Module With One Control转载 2015-08-04 09:26:47 · 777 阅读 · 0 评论 -
AngularJS Tutorial(15)from w3school
API stands for Application Programming Interface. AngularJS Global API The AngularJS Global API is a set of global JavaScript functions for performing common tasks like: Comparing objects转载 2015-08-04 09:29:09 · 579 阅读 · 0 评论 -
AngularJS Tutorial(17)from w3school
With AngularJS, you can include HTML files in HTML. HTML Includes in Future HTML Including a portion of HTML in HTML is, unfortunately, not (yet) supported by HTML. HTML imports is a W3C sugg转载 2015-08-04 09:30:43 · 634 阅读 · 0 评论 -
AngularJS Tutorial(4)from w3school
AngularJS lets you extend HTML with new attributes called Directives. AngularJS Directives AngularJS directives are extended HTML attributes with the prefix ng-. The ng-app directive initia转载 2015-08-04 09:20:46 · 648 阅读 · 0 评论 -
AngularJS Tutorial(18)from w3school
It is time to create a real AngularJS Single Page Application (SPA). An AngularJS Application Example You have learned more than enough to create your first AngularJS application: My Note转载 2015-08-04 09:31:26 · 563 阅读 · 0 评论 -
windows下搭建python cgi编程环境
顺便把实习做的项目从unix系统转到windows下面来了。 安装python,搭建机器学习开发环境前面的博客提过了,不写了。 1、下载并安装apache:httpd-2.2.31-x64.zip,可以参见http://jingyan.baidu.com/article/29697b912f6539ab20de3cf8.html 2、配置apache参数:修改配置文件 conf/httpd.原创 2015-09-21 18:40:25 · 8070 阅读 · 0 评论
分享