This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'), | |
http = require('http'), | |
app = express(), | |
server = http.createServer(app) | |
app.use(express.static(__dirname + '/build')); | |
app.get('/', function(req, res) { | |
res.send({}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ('undefined' !== typeof chrome && 'undefined' !== typeof chrome.app.runtime) { | |
chrome.app.runtime.onLaunched.addListener(function() { | |
chrome.app.window.create('index.html', { | |
bounds: { | |
width: 800, | |
height: 600, | |
left: 100, | |
top: 100 | |
}, | |
//minWidth: 800, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app="hypro-chrome-app"> | |
<head> | |
<title>Hypro</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<!-- compiled CSS --> | |
<link rel="stylesheet" type="text/css" href="assets/vendor-0.0.1.css" /> | |
<link rel="stylesheet" type="text/css" href="assets/app-0.0.1.css" /> | |
<!-- compiled JavaScript --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "App", | |
"version": "1", | |
"app": { | |
"background": { | |
"scripts": [ "background.js" ] | |
} | |
}, | |
"permissions": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class CustomCommerceTax { | |
$this->_aItems; | |
$this->_aShipping; | |
$this->_aCoupon; | |
public function __construct($aItems, $aShipping, $aCoupon) { | |
$this->_aItems = $aItems; | |
$this->_aShipping = $aShipping; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "App", | |
"version": "0.0.1", | |
"devDependencies": { | |
"angular": "latest", | |
"angular-sanitize": "latest", | |
"angular-dragdrop": "https://github.com/codef0rmer/angular-dragdrop.git#master", | |
"angular-mocks": "latest", | |
"restangular": "latest", | |
"bootstrap": "latest", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: Error running command apps deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: npm exited with code 1 |