local-settings naming changed to use "-"

This commit is contained in:
Vladimir Enchev
2014-05-15 09:44:15 +03:00
parent a1db810eec
commit a19fbf85a6
13 changed files with 23 additions and 25 deletions

View File

@ -111,13 +111,7 @@
<DependentUpon>image.d.ts</DependentUpon> <DependentUpon>image.d.ts</DependentUpon>
</TypeScriptCompile> </TypeScriptCompile>
<TypeScriptCompile Include="image\image.d.ts" /> <TypeScriptCompile Include="image\image.d.ts" />
<TypeScriptCompile Include="image\image_impl.android.ts"> <TypeScriptCompile Include="image\image-impl.d.ts" />
<DependentUpon>image_impl.d.ts</DependentUpon>
</TypeScriptCompile>
<TypeScriptCompile Include="image\image_impl.d.ts" />
<TypeScriptCompile Include="image\image_impl.ios.ts">
<DependentUpon>image_impl.d.ts</DependentUpon>
</TypeScriptCompile>
<TypeScriptCompile Include="image\index.ts" /> <TypeScriptCompile Include="image\index.ts" />
<TypeScriptCompile Include="location\location.android.ts"> <TypeScriptCompile Include="location\location.android.ts">
<DependentUpon>location.d.ts</DependentUpon> <DependentUpon>location.d.ts</DependentUpon>
@ -193,21 +187,25 @@
<TypeScriptCompile Include="http\http-request.ios.ts"> <TypeScriptCompile Include="http\http-request.ios.ts">
<DependentUpon>http-request.d.ts</DependentUpon> <DependentUpon>http-request.d.ts</DependentUpon>
</TypeScriptCompile> </TypeScriptCompile>
<TypeScriptCompile Include="image\image-impl.android.ts">
<DependentUpon>image-impl.d.ts</DependentUpon>
</TypeScriptCompile>
<TypeScriptCompile Include="image\image-impl.ios.ts">
<DependentUpon>image-impl.d.ts</DependentUpon>
</TypeScriptCompile>
<Content Include="image\Readme.md" /> <Content Include="image\Readme.md" />
<TypeScriptCompile Include="localsettings\index.ts" /> <TypeScriptCompile Include="local-settings\index.ts" />
<TypeScriptCompile Include="localsettings\local_settings.android.ts"> <TypeScriptCompile Include="local-settings\local-settings.d.ts" />
<DependentUpon>local_settings.d.ts</DependentUpon>
</TypeScriptCompile>
<TypeScriptCompile Include="localsettings\local_settings.d.ts" />
<TypeScriptCompile Include="localsettings\local_settings.ios.ts">
<DependentUpon>local_settings.d.ts</DependentUpon>
</TypeScriptCompile>
<TypeScriptCompile Include="localsettings\local_settings_common.ts">
<DependentUpon>local_settings.d.ts</DependentUpon>
</TypeScriptCompile>
<TypeScriptCompile Include="location\location_common.ts"> <TypeScriptCompile Include="location\location_common.ts">
<DependentUpon>location.d.ts</DependentUpon> <DependentUpon>location.d.ts</DependentUpon>
</TypeScriptCompile> </TypeScriptCompile>
<TypeScriptCompile Include="local-settings\local-settings.android.ts">
<DependentUpon>local-settings.d.ts</DependentUpon>
</TypeScriptCompile>
<TypeScriptCompile Include="local-settings\local-settings.ios.ts">
<DependentUpon>local-settings.d.ts</DependentUpon>
</TypeScriptCompile>
<TypeScriptCompile Include="local-settings\local-settings-common.ts" />
<Content Include="_references.ts" /> <Content Include="_references.ts" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@ -245,7 +243,7 @@
<Content Include="Tests\Readme.md" /> <Content Include="Tests\Readme.md" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="localsettings\Readme.md" /> <Content Include="local-settings\Readme.md" />
</ItemGroup> </ItemGroup>
<PropertyGroup Condition="'$(Configuration)' == 'iOS'"> <PropertyGroup Condition="'$(Configuration)' == 'iOS'">
<TypeScriptModuleKind>commonjs</TypeScriptModuleKind> <TypeScriptModuleKind>commonjs</TypeScriptModuleKind>

View File

@ -1,6 +1,6 @@
 
var TKUnit = require("Tests/TKUnit"); var TKUnit = require("Tests/TKUnit");
var LocalSettings = require("localsettings"); var LocalSettings = require("local-settings");
var stringKey:string = "stringKey"; var stringKey:string = "stringKey";
var boolKey: string = "boolKey"; var boolKey: string = "boolKey";

View File

@ -1,5 +1,5 @@
import app = require("application/application"); import app = require("application/application");
import impl = require("image/image_impl"); import impl = require("image/image-impl");
import promises = require("promises/promises"); import promises = require("promises/promises");
import http = require("http/http"); import http = require("http/http");

2
local-settings/index.ts Normal file
View File

@ -0,0 +1,2 @@
declare var module, require;
module.exports = require("local-settings/local-settings");

View File

@ -1,5 +1,5 @@
import appModule = require("application/application"); import appModule = require("application/application");
import Common = require("localsettings/local_settings_common"); import Common = require("local-settings/local-settings-common");
var sharedPreferences = appModule.android.context.getSharedPreferences("prefs.db", 0); var sharedPreferences = appModule.android.context.getSharedPreferences("prefs.db", 0);

View File

@ -1,4 +1,4 @@
import Common = require("localsettings/local_settings_common"); import Common = require("local-settings/local-settings-common");
var userDefaults = Foundation.NSUserDefaults.standardUserDefaults(); var userDefaults = Foundation.NSUserDefaults.standardUserDefaults();

View File

@ -1,2 +0,0 @@
declare var module, require;
module.exports = require("localsettings/local_settings");