Do Atom ao Electron – 2008 – 2012



Do Atom ao Electron – 2008 – 2012

0 0


fate

From Atom to Electron

On Github gangoffork / fate

From Atom to Electron

Edson Samuel Jr @mstred

2008

Chris Wanstrath @defunkt

    //
    //  main.m
    //  Atomicity
    //
    //  Created by Chris Wanstrath on 8/18/11.
    //  Copyright 2011 GitHub. All rights reserved.
    //

    #import <Cocoa/Cocoa.h>
    #import <WebKit/WebKit.h>

    int main(int argc, char *argv[])
    {
        return NSApplicationMain(argc,  (const char **) argv);
    }

2012

A hackable text-editor for the 21st century.

  • Open-source
  • Cross-platform
  • Modular

Cheng Zhao @zcbenz

nw.js

...f.k.a. node-webkit

Electron

...f.k.a. Atom Shell

One ~runtime~ to rule them all!

Install

npm install --save-dev electron-prebuilt

git clone https://github.com/atom/electron-quick-start

npm install

References

Demo

Pretty Code

				
					function linkify( selector ) { if( supports3DTransforms ) { var nodes = document.querySelectorAll( selector ); for( var i = 0, len = nodes.length; i < len; i++ ) { var node = nodes[i]; if( !node.className ) { node.className += ' roll'; } } } }
				
			

Code syntax highlighting courtesy of highlight.js.

From Atom to Electron Edson Samuel Jr @mstred