上一页 1 ··· 437 438 439 440 441 442 443 444 445 ··· 491 下一页
摘要: The simplest use of Regular Expressions is to find a plain text pattern. In this lesson we'll look at at finding plain text patterns as well as using 阅读全文
posted @ 2016-02-01 02:48 Zhentiw 阅读(248) 评论(0) 推荐(0)
摘要: Three methods to preform redirection in browser: widnow.location.href window.location.assign window.location.replace 1 & 2, they are pretty much the s 阅读全文
posted @ 2016-01-31 17:51 Zhentiw 阅读(279) 评论(0) 推荐(0)
摘要: Learn how to avoid the boilerplate of passing the props down the intermediate components by introducing more container components. Code to be refactor 阅读全文
posted @ 2016-01-29 16:56 Zhentiw 阅读(279) 评论(0) 推荐(0)
摘要: var str = "Is this This?"; //var regex = new RegExp("is", "gi"); var regex = /is/gi; //console.log(regex.test(str)); console.log(regex.exec(str)); //[ 阅读全文
posted @ 2016-01-29 05:15 Zhentiw 阅读(188) 评论(0) 推荐(0)
摘要: Local Storage is a native JavaScript Web API that makes it easy to store and persist data (as key-value pairs) in the Browser. In this lesson, we'll w 阅读全文
posted @ 2016-01-27 21:44 Zhentiw 阅读(163) 评论(0) 推荐(0)
摘要: JSON (JavaScript Object Notation) is a standard method to serialize JavaScript objects and is commonly used to transfer data from the server to the br 阅读全文
posted @ 2016-01-27 20:31 Zhentiw 阅读(228) 评论(0) 推荐(0)
摘要: Finally, I just noticed that the to-do app component doesn't actually have to be a class. I can turn it into a function. I prefer to-do that when poss 阅读全文
posted @ 2016-01-27 20:18 Zhentiw 阅读(198) 评论(0) 推荐(0)
摘要: Code to be refactored: let nextTodoId = 0; class TodoApp extends Component { render() { const { todos, visibilityFilter } = this.props; const visibleT 阅读全文
posted @ 2016-01-27 20:10 Zhentiw 阅读(318) 评论(0) 推荐(0)
摘要: Code to be refactored: let nextTodoId = 0; class TodoApp extends Component { render() { const { todos, visibilityFilter } = this.props; const visibleT 阅读全文
posted @ 2016-01-27 19:09 Zhentiw 阅读(216) 评论(0) 推荐(0)
摘要: The code to be refactored: let nextTodoId = 0; class TodoApp extends Component { render() { const { todos, visibilityFilter } = this.props; const visi 阅读全文
posted @ 2016-01-27 18:22 Zhentiw 阅读(196) 评论(0) 推荐(0)
上一页 1 ··· 437 438 439 440 441 442 443 444 445 ··· 491 下一页