#まず見るべき
以下のURLは、常に更新されているコンテンツです。
- ドキュメント日本語版
- 日本語版ドキュメントはVue.js日本語コミュニティによって常に更新されています。ミスがあれば、是非jp.vuejs.orgまでプルリクエストを頂けると助かります。
- 質問や議論は日本語コミュニティのSlackが活発です。
- はじめに読むものとしては、下記のコンテンツが良いでしょう。
- 概要
| #!/bin/bash | |
| # Escape code | |
| esc=`echo -en "\033"` | |
| # Set colors | |
| cc_red="${esc}[0;31m" | |
| cc_green="${esc}[0;32m" | |
| cc_yellow="${esc}[0;33m" | |
| cc_blue="${esc}[0;34m" |
| //this function composes functions like in Haskell (and most other functional languages) | |
| //the final composed function can accept parameters dictated by the chain it creates | |
| //you can pass it a list of functions and it shall apply them from RIGHT to LEFT (right associativeness?) | |
| //eg., c0(fn1, fn2, fn3)(10) => return fn1(fn2(fn3(10))); | |
| // out<---<----<----<=10 | |
| function c0(f, g) { | |
| var last; | |
| if (!arguments.length) return; | |
| if (arguments.length === 1) return f; | |
| if (arguments.length === 2) { |
| module.exports = function(grunt){ | |
| var path = require('path'); | |
| var matchdep = require('matchdep'); | |
| matchdep.filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| compass: { | |
| dev: { |
| ## Lenguaje Go | |
| set --export GOROOT /usr/local/go | |
| set -gx PATH /usr/local/go/bin $PATH | |
| #set -gx PATH GOROOT/bin $PATH | |
| set --export GOPATH $HOME/GoProjects | |
| set -gx PATH $GOPATH/bin $PATH | |
| ## AppEngine para GO | |
| set -gx PATH $HOME/programs/go_appengine $PATH |
| var vm = require('vm'); | |
| var fs = require('fs'); | |
| var path = require('path'); | |
| /** | |
| * Helper for unit testing: | |
| * - load module with mocked dependencies | |
| * - allow accessing private state of the module | |
| * | |
| * @param {string} filePath Absolute path to module (file to load) |
| import React from 'react'; | |
| let lastScrollY = 0; | |
| let ticking = false; | |
| class App extends React.Component { | |
| componentDidMount() { | |
| window.addEventListener('scroll', this.handleScroll, true); | |
| } |
#まず見るべき
以下のURLは、常に更新されているコンテンツです。
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent