mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
version in dist files
This commit is contained in:
24
Gruntfile.js
24
Gruntfile.js
@@ -87,6 +87,24 @@ module.exports = function(grunt) {
|
||||
}
|
||||
}
|
||||
},
|
||||
'string-replace': {
|
||||
version: {
|
||||
files: {
|
||||
'dist/css/ionic.css': 'dist/css/ionic.css',
|
||||
'dist/css/ionic.min.css': 'dist/css/ionic.min.css',
|
||||
'dist/js/ionic.js': 'dist/js/ionic.js',
|
||||
'dist/js/ionic.min.js': 'dist/js/ionic.min.js',
|
||||
'dist/js/ionic-angular.js': 'dist/js/ionic-angular.js',
|
||||
'dist/js/ionic-angular.min.js': 'dist/js/ionic-angular.min.js'
|
||||
},
|
||||
options: {
|
||||
replacements: [{
|
||||
pattern: /{{ VERSION }}/g,
|
||||
replacement: '<%= pkg.version %>'
|
||||
}]
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
scripts: {
|
||||
files: ['js/**/*.js', 'ext/**/*.js'],
|
||||
@@ -102,7 +120,8 @@ module.exports = function(grunt) {
|
||||
spawn: false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
pkg: grunt.file.readJSON('package.json')
|
||||
});
|
||||
|
||||
require('load-grunt-tasks')(grunt);
|
||||
@@ -112,6 +131,7 @@ module.exports = function(grunt) {
|
||||
'sass',
|
||||
'cssmin',
|
||||
'concat',
|
||||
'uglify'
|
||||
'uglify',
|
||||
'string-replace'
|
||||
]);
|
||||
};
|
||||
|
||||
6
dist/css/ionic.css
vendored
6
dist/css/ionic.css
vendored
@@ -1,10 +1,10 @@
|
||||
/*!
|
||||
* Copyright 2013 Drifty Co.
|
||||
* http://drifty.com/
|
||||
|
||||
* Ionic - a powerful HTML5 mobile app framework.
|
||||
* http://ionicframework.com/
|
||||
*
|
||||
* Ionic, v0.9.14
|
||||
* A powerful HTML5 mobile app framework.
|
||||
* http://ionicframework.com/
|
||||
*
|
||||
* By @maxlynch, @helloimben, @adamdbradley <3
|
||||
*
|
||||
|
||||
10
dist/css/ionic.min.css
vendored
10
dist/css/ionic.min.css
vendored
File diff suppressed because one or more lines are too long
8
dist/js/ionic-angular.js
vendored
8
dist/js/ionic-angular.js
vendored
@@ -1,16 +1,16 @@
|
||||
/*!
|
||||
* Copyright 2013 Drifty Co.
|
||||
* http://drifty.com/
|
||||
|
||||
* Ionic - a powerful HTML5 mobile app framework.
|
||||
*
|
||||
* Ionic, v0.9.14
|
||||
* A powerful HTML5 mobile app framework.
|
||||
* http://ionicframework.com/
|
||||
*
|
||||
* By @maxlynch, @helloimben, @adamdbradley <3
|
||||
*
|
||||
* Licensed under the MIT license. Please see LICENSE for more information.
|
||||
*
|
||||
*/
|
||||
;
|
||||
*/;
|
||||
/**
|
||||
* Create a wrapping module to ease having to include too many
|
||||
* modules.
|
||||
|
||||
9
dist/js/ionic-angular.min.js
vendored
9
dist/js/ionic-angular.min.js
vendored
File diff suppressed because one or more lines are too long
14
dist/js/ionic.js
vendored
14
dist/js/ionic.js
vendored
@@ -1,23 +1,23 @@
|
||||
/*!
|
||||
* Copyright 2013 Drifty Co.
|
||||
* http://drifty.com/
|
||||
|
||||
* Ionic - a powerful HTML5 mobile app framework.
|
||||
*
|
||||
* Ionic, v0.9.14
|
||||
* A powerful HTML5 mobile app framework.
|
||||
* http://ionicframework.com/
|
||||
*
|
||||
* By @maxlynch, @helloimben, @adamdbradley <3
|
||||
*
|
||||
* Licensed under the MIT license. Please see LICENSE for more information.
|
||||
*
|
||||
*/
|
||||
;
|
||||
*/;
|
||||
|
||||
// Create namespaces
|
||||
window.ionic = {
|
||||
controllers: {},
|
||||
views: {}
|
||||
};
|
||||
;
|
||||
views: {},
|
||||
version: '0.9.14'
|
||||
};;
|
||||
(function(ionic) {
|
||||
|
||||
var bezierCoord = function (x,y) {
|
||||
|
||||
9
dist/js/ionic.min.js
vendored
9
dist/js/ionic.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,12 +1,13 @@
|
||||
/*!
|
||||
* Copyright 2013 Drifty Co.
|
||||
* http://drifty.com/
|
||||
|
||||
* Ionic - a powerful HTML5 mobile app framework.
|
||||
*
|
||||
* Ionic, v{{ VERSION }}
|
||||
* A powerful HTML5 mobile app framework.
|
||||
* http://ionicframework.com/
|
||||
*
|
||||
* By @maxlynch, @helloimben, @adamdbradley <3
|
||||
*
|
||||
* Licensed under the MIT license. Please see LICENSE for more information.
|
||||
*
|
||||
*/
|
||||
*/
|
||||
@@ -2,5 +2,6 @@
|
||||
// Create namespaces
|
||||
window.ionic = {
|
||||
controllers: {},
|
||||
views: {}
|
||||
};
|
||||
views: {},
|
||||
version: '{{ VERSION }}'
|
||||
};
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ionic",
|
||||
"private": false,
|
||||
"version": "0.9.04",
|
||||
"version": "0.9.14",
|
||||
"devDependencies": {
|
||||
"karma": "~0.10",
|
||||
"grunt": "~0.4.1",
|
||||
@@ -12,6 +12,7 @@
|
||||
"grunt-contrib-uglify": "~0.2.4",
|
||||
"grunt-contrib-jshint": "~0.6.4",
|
||||
"grunt-contrib-sass": "~0.5.0",
|
||||
"grunt-string-replace": "~0.2.7",
|
||||
"karma-jasmine": "~0.1.3",
|
||||
"karma-chrome-launcher": "~0.1.0",
|
||||
"load-grunt-tasks": "~0.2.0"
|
||||
@@ -24,4 +25,4 @@
|
||||
"type": "MIT"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -3,10 +3,10 @@
|
||||
/*!
|
||||
* Copyright 2013 Drifty Co.
|
||||
* http://drifty.com/
|
||||
|
||||
* Ionic - a powerful HTML5 mobile app framework.
|
||||
* http://ionicframework.com/
|
||||
*
|
||||
* Ionic, v{{ VERSION }}
|
||||
* A powerful HTML5 mobile app framework.
|
||||
* http://ionicframework.com/
|
||||
*
|
||||
* By @maxlynch, @helloimben, @adamdbradley <3
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user