<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Samsung Galaxy Tab 7</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>1024</PageWidth>
	<PageHeight>600</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\sinli\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<LanguageCode>en</LanguageCode>
	<ThemeColor>#000000</ThemeColor>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<CustomHeadMetadata>&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.25.1/moment.min.js&quot;&gt;&lt;/script&gt;</CustomHeadMetadata>
	<Components>
		<FunctionList name="Subroutines"/>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<Components>
						<DateInput id="DateInput1">
							<left>40px</left>
							<top>40px</top>
							<width>168px</width>
							<height>40px</height>
							<variable>[date1]</variable>
							<place_holder>Date 1</place_holder>
						</DateInput>
						<DateInput id="DateInput2">
							<left>40px</left>
							<top>96px</top>
							<width>168px</width>
							<height>40px</height>
							<variable>[date2]</variable>
							<place_holder>Date 2</place_holder>
						</DateInput>
						<PushButton id="PushButton1">
							<left>40px</left>
							<top>160px</top>
							<width>168px</width>
							<height>40px</height>
							<caption>Calc diff</caption>
							<click>BeginJS
var fecha1 = moment($App.date1);
var fecha2 = moment($App.date2);

var diff = fecha2.diff(fecha1, &apos;d&apos;); // Diff in days
alert(&quot;Diff in days: &quot;+diff);

var diff = fecha2.diff(fecha1, &apos;h&apos;); // Diff in hours
alert(&quot;Diff in hours: &quot;+diff);

var diff = fecha2.diff(fecha1, &apos;m&apos;); // Diff in minutes
alert(&quot;Diff in minutes: &quot;+diff);
EndJS</click>
						</PushButton>
						<Container id="Container1">
							<left>40px</left>
							<top>232px</top>
							<width>456px</width>
							<height>88px</height>
							<style>background-color:#fff</style>
							<html>Library momentjs has been loaded from a CDN.&lt;br&gt;
See: &lt;i&gt;Project &gt; Properties &gt; Advanced &gt; Custom Metadata &gt; Head&lt;/i&gt;</html>
						</Container>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>1024px</width>
							<height>600px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
