mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Merge branch 'release' into mdonev-merge-release-resourceid-fix
This commit is contained in:
@ -38,8 +38,7 @@ module.exports = function(grunt) {
|
|||||||
return processed;
|
return processed;
|
||||||
};
|
};
|
||||||
|
|
||||||
var updatePackageDef = function(content, update)
|
var updatePackageDef = function (content, update) {
|
||||||
{
|
|
||||||
var contentAsObject = JSON.parse(content);
|
var contentAsObject = JSON.parse(content);
|
||||||
update(contentAsObject);
|
update(contentAsObject);
|
||||||
return JSON.stringify(contentAsObject, null, "\t");
|
return JSON.stringify(contentAsObject, null, "\t");
|
||||||
@ -258,7 +257,6 @@ module.exports = function(grunt) {
|
|||||||
expand: true,
|
expand: true,
|
||||||
src: [
|
src: [
|
||||||
'**/*',
|
'**/*',
|
||||||
'!*.md',
|
|
||||||
'!node_modules/**/*',
|
'!node_modules/**/*',
|
||||||
'!unit-tests/**/*',
|
'!unit-tests/**/*',
|
||||||
],
|
],
|
||||||
@ -267,6 +265,10 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
exec: {
|
exec: {
|
||||||
|
copyReadme: {
|
||||||
|
cmd: `cp "README.md" ${localCfg.outTnsCoreModules}`,
|
||||||
|
cwd: process.cwd()
|
||||||
|
},
|
||||||
packModules: {
|
packModules: {
|
||||||
cmd: "npm pack",
|
cmd: "npm pack",
|
||||||
cwd: localCfg.outTnsCoreModules + "/"
|
cwd: localCfg.outTnsCoreModules + "/"
|
||||||
@ -376,6 +378,7 @@ module.exports = function(grunt) {
|
|||||||
"compile-modules",
|
"compile-modules",
|
||||||
"run-unit-test",
|
"run-unit-test",
|
||||||
"copy:modulesPackageDef",
|
"copy:modulesPackageDef",
|
||||||
|
"exec:copyReadme",
|
||||||
"exec:packModules"
|
"exec:packModules"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -114,8 +114,9 @@ export function _setAndroidFragmentTransitions(
|
|||||||
let currentFragmentNeedsDifferentAnimation = false;
|
let currentFragmentNeedsDifferentAnimation = false;
|
||||||
if (currentEntry) {
|
if (currentEntry) {
|
||||||
_updateTransitions(currentEntry);
|
_updateTransitions(currentEntry);
|
||||||
if (currentEntry.transitionName !== name
|
if (currentEntry.transitionName !== name ||
|
||||||
|| currentEntry.transition !== transition) {
|
currentEntry.transition !== transition ||
|
||||||
|
!useLollipopTransition) {
|
||||||
clearExitAndReenterTransitions(currentEntry, true);
|
clearExitAndReenterTransitions(currentEntry, true);
|
||||||
currentFragmentNeedsDifferentAnimation = true;
|
currentFragmentNeedsDifferentAnimation = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user