Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| import React from 'react' | |
| export const ThingComponent = ({ things, stuff}) => ( | |
| <Container> | |
| <form> | |
| </form> | |
| </Container> | |
| ); | |
| /* fadeOut animation css */ | |
| .fadeOut { | |
| animation-name: fadeOut; | |
| -webkit-animation-name: fadeOut; | |
| animation-duration: 0.4s; | |
| -webkit-animation-duration: 0.4s; | |
| animation-timing-function: ease-in-out; | |
| -webkit-animation-timing-function: ease-in-out; |
| 'use strict'; | |
| todomvc.controller('TodoCtrl', [ '$scope', 'todoFactory', 'filterFilter', | |
| function OtherCtrl($scope, todoFactory, filterFilter) { | |
| $scope.todos = todoFactory.getAllTodos('todos'); | |
| $scope.newTodo = ''; | |
| $scope.editedTodo = ''; | |
| $scope.addTodo = function() { | |
| todoFactory.addTodo($scope.newTodo); | |
| }; | |
| $scope.editTodo = function(todo) { |