Skip to content
Permalink
Browse files
No more PhoneGap, only the Web!
  • Loading branch information
nhoizey committed Feb 16, 2016
1 parent 0f2ee54 commit 6b5607d3556dca7dbdc1c703be0a9017a7880f5c
Showing with 24 additions and 279 deletions.
  1. +1 −31 Gruntfile.js
  2. +2 −2 package.json
  3. +0 −88 src/config.xml
  4. +7 −14 src/index.html
  5. +14 −144 src/js/esviji.js
@@ -57,9 +57,6 @@ module.exports = function(grunt) {
build: {
src: 'build/',
},
phonegap: {
src: '../esviji-phonegap/www/',
},
},

copy: {
@@ -99,27 +96,6 @@ module.exports = function(grunt) {
},
],
},
phonegap: {
files: [
{
expand: true,
cwd: 'build/',
src: [
'*',
'**/*',
],
dest: '../esviji-phonegap/www/',
},
],
},
phonegapiosicon: {
files: [
{
src: 'build/apple-touch-icon-57x57.png',
dest: '../esviji-phonegap/www/icon.png',
},
],
},
},

useminPrepare: {
@@ -285,11 +261,6 @@ module.exports = function(grunt) {
pattern: '\\\\/',
replacement: '/',
},
phonegapjs: {
path: '../esviji-phonegap/www/index.html',
pattern: '<\/title>',
replacement: '<\/title><script type="text/javascript" src="cordova.js"></script>',
},
},

devUpdate: {
@@ -305,7 +276,6 @@ module.exports = function(grunt) {

grunt.registerTask('default', ['compile', 'watch']);
grunt.registerTask('compile', ['growl', 'sass', 'autoprefixer', 'manifest:src']);
grunt.registerTask('build', ['sass', 'autoprefixer', 'clean:build', 'copy:build', 'useminPrepare', 'concat', 'removelogging', 'uglify', 'cssmin', 'rev', 'usemin', 'realFavicon', 'sed:version', 'sed:title', 'sed:description', 'sed:jsonld', 'sed:cleanManifestFilePaths', 'manifest:build']);
grunt.registerTask('phonegap', ['build', 'clean:phonegap', 'copy:phonegap', 'copy:phonegapiosicon', 'sed:phonegapjs']);
grunt.registerTask('build', ['sass', 'autoprefixer', 'clean', 'copy:build', 'useminPrepare', 'concat', 'removelogging', 'uglify', 'cssmin', 'rev', 'usemin', 'realFavicon', 'sed', 'manifest:build']);
grunt.registerTask('up', ['devUpdate']);
};
@@ -1,8 +1,8 @@
{
"name": "esviji",
"version": "2.1.13",
"title": "esviji, a free puzzle game on the Web and mobiles",
"description": "Play esviji on any device! You'll have to destroy balls based on their colors and place on the board.",
"title": "esviji, a free puzzle game for the Web",
"description": "Play esviji on any device with your browser! You'll have to destroy balls based on their colors and place on the board.",
"main": "index.html",
"repository": {
"type": "git",

This file was deleted.

@@ -12,32 +12,23 @@
<meta property="og:url" content="http://play.esviji.com/" />
<meta property="og:image" content="http://play.esviji.com/img/esviji-screenshot.png" />

<meta name="twitter:card" content="app" />
<meta name="twitter:site" content="@esviji" />
<meta name="twitter:description" content="%DESCRIPTION%" />
<meta name="twitter:app:name:googleplay" content="%TITLE%" />
<meta name="twitter:app:id:googleplay" content="com.esviji.app" />
<!--
<meta name="twitter:app:name:iphone" content="%TITLE%" />
<meta name="twitter:app:id:iphone" content="1076156592" />
<meta name="twitter:app:name:ipad" content="%TITLE%" />
<meta name="twitter:app:id:ipad" content="1076156592" />
-->

<!-- these should not be used with the "app" card type… -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content="@nhoizey" />
<meta name="twitter:site" content="@esviji" />
<meta name="twitter:title" content="%TITLE%" />
<meta name="twitter:description" content="%DESCRIPTION%" />
<meta name="twitter:image" content="http://play.esviji.com/img/esviji-mockup.jpg" />

<!-- build:css css/styles.css -->
<link rel="stylesheet" media="all" href="css/styles.css" type="text/css" />
<!-- endbuild -->

<!-- iOS features -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<link rel="manifest" href="manifest.json" />

<link rel="manifest" href="manifest.json" />

<style>
[aria-hidden=true] {
@@ -59,6 +50,8 @@
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-1655999-4', 'auto');
</script>
</head>

0 comments on commit 6b5607d

Please sign in to comment.