Gap撈Tech

聯絡方法

如果你唔係Programmer,請到 呢度

/**
 * Contact.js
 * Created by Gap on 13/5/15.
 */
var blog = require('Gap撈Tech'),  
    reader = blog.getReaderInFrontOfScreen(),
    principles = reader.getPrinciples();

if ( principles.indexOf('Simple is beautiful') >= 0  
     && principles.indexOf('己所不欲 勿施於人')  >= 0
     && principles.indexOf('工欲善其事 必先利其器') >= 0
     && principles.indexOf('一山還有一山高') >= 0
) {

    if( ! (reader instanceof 井底之蛙) ) {
       try {
           reader.mailTo('[email protected]');
       } catch (err) {
           //if reader fail to reach me through email
           //Fall back to facebook inbox
           reader.inbox('https://www.facebook.com/gaplotech');
        }

    }
    else {
       reader.exit();
    }

}