Skip to content

Commit 6b5607d

Browse files
committed
No more PhoneGap, only the Web!
1 parent 0f2ee54 commit 6b5607d

File tree

5 files changed

+24
-279
lines changed

5 files changed

+24
-279
lines changed

Gruntfile.js

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ module.exports = function(grunt) {
5757
build: {
5858
src: 'build/',
5959
},
60-
phonegap: {
61-
src: '../esviji-phonegap/www/',
62-
},
6360
},
6461

6562
copy: {
@@ -99,27 +96,6 @@ module.exports = function(grunt) {
9996
},
10097
],
10198
},
102-
phonegap: {
103-
files: [
104-
{
105-
expand: true,
106-
cwd: 'build/',
107-
src: [
108-
'*',
109-
'**/*',
110-
],
111-
dest: '../esviji-phonegap/www/',
112-
},
113-
],
114-
},
115-
phonegapiosicon: {
116-
files: [
117-
{
118-
src: 'build/apple-touch-icon-57x57.png',
119-
dest: '../esviji-phonegap/www/icon.png',
120-
},
121-
],
122-
},
12399
},
124100

125101
useminPrepare: {
@@ -285,11 +261,6 @@ module.exports = function(grunt) {
285261
pattern: '\\\\/',
286262
replacement: '/',
287263
},
288-
phonegapjs: {
289-
path: '../esviji-phonegap/www/index.html',
290-
pattern: '<\/title>',
291-
replacement: '<\/title><script type="text/javascript" src="cordova.js"></script>',
292-
},
293264
},
294265

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

306277
grunt.registerTask('default', ['compile', 'watch']);
307278
grunt.registerTask('compile', ['growl', 'sass', 'autoprefixer', 'manifest:src']);
308-
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']);
309-
grunt.registerTask('phonegap', ['build', 'clean:phonegap', 'copy:phonegap', 'copy:phonegapiosicon', 'sed:phonegapjs']);
279+
grunt.registerTask('build', ['sass', 'autoprefixer', 'clean', 'copy:build', 'useminPrepare', 'concat', 'removelogging', 'uglify', 'cssmin', 'rev', 'usemin', 'realFavicon', 'sed', 'manifest:build']);
310280
grunt.registerTask('up', ['devUpdate']);
311281
};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "esviji",
33
"version": "2.1.13",
4-
"title": "esviji, a free puzzle game on the Web and mobiles",
5-
"description": "Play esviji on any device! You'll have to destroy balls based on their colors and place on the board.",
4+
"title": "esviji, a free puzzle game for the Web",
5+
"description": "Play esviji on any device with your browser! You'll have to destroy balls based on their colors and place on the board.",
66
"main": "index.html",
77
"repository": {
88
"type": "git",

src/config.xml

Lines changed: 0 additions & 88 deletions
This file was deleted.

src/index.html

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,23 @@
1212
<meta property="og:url" content="http://play.esviji.com/" />
1313
<meta property="og:image" content="http://play.esviji.com/img/esviji-screenshot.png" />
1414

15-
<meta name="twitter:card" content="app" />
16-
<meta name="twitter:site" content="@esviji" />
17-
<meta name="twitter:description" content="%DESCRIPTION%" />
18-
<meta name="twitter:app:name:googleplay" content="%TITLE%" />
19-
<meta name="twitter:app:id:googleplay" content="com.esviji.app" />
20-
<!--
21-
<meta name="twitter:app:name:iphone" content="%TITLE%" />
22-
<meta name="twitter:app:id:iphone" content="1076156592" />
23-
<meta name="twitter:app:name:ipad" content="%TITLE%" />
24-
<meta name="twitter:app:id:ipad" content="1076156592" />
25-
-->
26-
27-
<!-- these should not be used with the "app" card type… -->
15+
<meta name="twitter:card" content="summary" />
2816
<meta name="twitter:creator" content="@nhoizey" />
17+
<meta name="twitter:site" content="@esviji" />
2918
<meta name="twitter:title" content="%TITLE%" />
19+
<meta name="twitter:description" content="%DESCRIPTION%" />
3020
<meta name="twitter:image" content="http://play.esviji.com/img/esviji-mockup.jpg" />
3121

3222
<!-- build:css css/styles.css -->
3323
<link rel="stylesheet" media="all" href="css/styles.css" type="text/css" />
3424
<!-- endbuild -->
25+
3526
<!-- iOS features -->
3627
<meta name="apple-mobile-web-app-capable" content="yes" />
3728
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
3829
<meta name="format-detection" content="telephone=no" />
39-
<link rel="manifest" href="manifest.json" />
4030

31+
<link rel="manifest" href="manifest.json" />
4132

4233
<style>
4334
[aria-hidden=true] {
@@ -59,6 +50,8 @@
5950
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
6051
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6152
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
53+
54+
ga('create', 'UA-1655999-4', 'auto');
6255
</script>
6356
</head>
6457

0 commit comments

Comments
 (0)