#ATOM sync settings
| #--- | |
| # iPIN - iPhone PNG Images Normalizer v1.0 | |
| # Copyright (C) 2007, 2012 | |
| # | |
| # Author: | |
| # Alexander Freas | |
| # www.sashimiblade.com | |
| # alex@sashimiblade.com | |
| # | |
| # |
| // el - dom img element with specified src attribute | |
| // angle - angle to rotate the image (in degrees) | |
| function rotateImg(el,angle){ | |
| var img = document.createElement("img"); | |
| img.onload = function(){ | |
| var w = img.width; | |
| var h = img.height; | |
| var a = angle*(Math.PI/180); |
| <h3>box-shadow animations using currentColor</h3> | |
| <i>(?) hover mouse over the block for 1 second</i> | |
| <br/><br/> | |
| <div class="block transitioned">Transitioned <span style="color: green;">(Expexted)</span></div> | |
| <div class="block animated">Animated (Wrong)</div> | |
| <hr/> | |
| more tests... | |
| <br/><br/> | |
| <div class="block animated2">Animated2</div> | |
| <div class="block animated3" type="button">Animated3</div> |
| module.exports = class Example { | |
| foo () { | |
| console.log('hello foo!'); | |
| } | |
| }; |
| startListen(document.querySelector('.bebebe'),'click',function(e) { | |
| console.log(e.target.innerHTML); | |
| }, 'a'); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <script src="https://jsconsole.com/js/remote.js?8959c129-a034-4e87-9ca5-9c0d4ceb76d7"></script> | |
| </head> | |
| <body> | |
| <script> |
| <html> | |
| <head> | |
| <script src="https://qa.polyfill.io/v2/polyfill.js?features=default,es6,es7,caniuse:console-basic&flags=gated&unknown=polyfill"></script> | |
| <script src="https://rawgit.com/facebook/regenerator/master/packages/regenerator-runtime/runtime.js"></script> | |
| <script> | |
| (function _callee() { | |
| return regeneratorRuntime.async(function _callee$(_context) { | |
| while (1) { | |
| switch (_context.prev = _context.next) { |
The proposal you’re about to read is not just a proposal. We have a working implementation of almost everything we discussed here. We encourage you to checkout and build our branch: our fork, with the relevant branch selected. Building and using the implementation will give you a better understanding of what using it as a developer is like.
Our implementation ended up differing from the proposal on some minor points. As our last action item before making a PR, we’re writing documentation on what we did. While I loathe pointing to tests in lieu of documentation, they will be helpful until we complete writing docs: the unit tests.
This repo also contains a bundled version of npm that has a new command, asset. You can read the documentation for and goals of that comma
| {"lastUpload":"2021-01-25T19:16:04.811Z","extensionVersion":"v3.4.3"} |