diff --git a/Examples/UIExplorer/UIExplorer.xcodeproj/project.pbxproj b/Examples/UIExplorer/UIExplorer.xcodeproj/project.pbxproj index a23d3d532..aa4bcf20a 100644 --- a/Examples/UIExplorer/UIExplorer.xcodeproj/project.pbxproj +++ b/Examples/UIExplorer/UIExplorer.xcodeproj/project.pbxproj @@ -13,7 +13,6 @@ 1323F18A1C04AB9F0091BED0 /* flux@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1323F1861C04AB9F0091BED0 /* flux@3x.png */; }; 1323F18B1C04AB9F0091BED0 /* hawk.png in Resources */ = {isa = PBXBuildFile; fileRef = 1323F1871C04AB9F0091BED0 /* hawk.png */; }; 1323F18C1C04AB9F0091BED0 /* uie_thumb_big.png in Resources */ = {isa = PBXBuildFile; fileRef = 1323F1881C04AB9F0091BED0 /* uie_thumb_big.png */; }; - 1323F18F1C04ABEB0091BED0 /* Thumbnails in Resources */ = {isa = PBXBuildFile; fileRef = 1323F18E1C04ABEB0091BED0 /* Thumbnails */; }; 13417FE91AA91432003F314A /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 13417FE81AA91428003F314A /* libRCTImage.a */; }; 134180011AA9153C003F314A /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 13417FEF1AA914B8003F314A /* libRCTText.a */; }; 1341802C1AA9178B003F314A /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1341802B1AA91779003F314A /* libRCTNetwork.a */; }; @@ -63,8 +62,9 @@ 27B885561BED29AF00008352 /* RCTRootViewIntegrationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 27B885551BED29AF00008352 /* RCTRootViewIntegrationTests.m */; }; 27F441EC1BEBE5030039B79C /* FlexibleSizeExampleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 27F441E81BEBE5030039B79C /* FlexibleSizeExampleView.m */; }; 3578590A1B28D2CF00341EDB /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 357859011B28D2C500341EDB /* libRCTLinking.a */; }; + 3D299BAF1D33EBFA00FA1057 /* RCTLoggingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D299BAE1D33EBFA00FA1057 /* RCTLoggingTests.m */; }; 3DB99D0C1BA0340600302749 /* UIExplorerIntegrationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB99D0B1BA0340600302749 /* UIExplorerIntegrationTests.m */; }; - 3DEFCE371D33A67200256E76 /* TestBundle.js in Resources */ = {isa = PBXBuildFile; fileRef = 3DEFCE351D33A61500256E76 /* TestBundle.js */; }; + 3DD981D61D33C6FB007DC7BE /* TestBundle.js in Resources */ = {isa = PBXBuildFile; fileRef = 3DD981D51D33C6FB007DC7BE /* TestBundle.js */; }; 68FF44381CF6111500720EFD /* RCTBundleURLProviderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 68FF44371CF6111500720EFD /* RCTBundleURLProviderTests.m */; }; 834C36EC1AF8DED70019C93C /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 834C36D21AF8DA610019C93C /* libRCTSettings.a */; }; 83636F8F1B53F22C009F943E /* RCTUIManagerScenarioTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 83636F8E1B53F22C009F943E /* RCTUIManagerScenarioTests.m */; }; @@ -192,11 +192,10 @@ 004D289E1AAF61C70097A701 /* UIExplorerUnitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = UIExplorerUnitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 1300627E1B59179B0043FE5A /* RCTGzipTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTGzipTests.m; sourceTree = ""; }; 13129DD31C85F87C007D611C /* RCTModuleInitNotificationRaceTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTModuleInitNotificationRaceTests.m; sourceTree = ""; }; - 1323F1851C04AB9F0091BED0 /* bunny.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bunny.png; sourceTree = ""; }; - 1323F1861C04AB9F0091BED0 /* flux@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "flux@3x.png"; sourceTree = ""; }; - 1323F1871C04AB9F0091BED0 /* hawk.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = hawk.png; sourceTree = ""; }; - 1323F1881C04AB9F0091BED0 /* uie_thumb_big.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = uie_thumb_big.png; sourceTree = ""; }; - 1323F18E1C04ABEB0091BED0 /* Thumbnails */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Thumbnails; sourceTree = ""; }; + 1323F1851C04AB9F0091BED0 /* bunny.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = bunny.png; path = js/bunny.png; sourceTree = ""; }; + 1323F1861C04AB9F0091BED0 /* flux@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "flux@3x.png"; path = "js/flux@3x.png"; sourceTree = ""; }; + 1323F1871C04AB9F0091BED0 /* hawk.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = hawk.png; path = js/hawk.png; sourceTree = ""; }; + 1323F1881C04AB9F0091BED0 /* uie_thumb_big.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = uie_thumb_big.png; path = js/uie_thumb_big.png; sourceTree = ""; }; 13417FE31AA91428003F314A /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = ../../Libraries/Image/RCTImage.xcodeproj; sourceTree = ""; }; 13417FEA1AA914B8003F314A /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = ../../Libraries/Text/RCTText.xcodeproj; sourceTree = ""; }; 134180261AA91779003F314A /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = ../../Libraries/Network/RCTNetwork.xcodeproj; sourceTree = ""; }; @@ -251,8 +250,9 @@ 27F441E81BEBE5030039B79C /* FlexibleSizeExampleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FlexibleSizeExampleView.m; path = UIExplorer/NativeExampleViews/FlexibleSizeExampleView.m; sourceTree = ""; }; 27F441EA1BEBE5030039B79C /* FlexibleSizeExampleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FlexibleSizeExampleView.h; path = UIExplorer/NativeExampleViews/FlexibleSizeExampleView.h; sourceTree = ""; }; 357858F81B28D2C400341EDB /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = ../../Libraries/LinkingIOS/RCTLinking.xcodeproj; sourceTree = ""; }; + 3D299BAE1D33EBFA00FA1057 /* RCTLoggingTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTLoggingTests.m; sourceTree = ""; }; 3DB99D0B1BA0340600302749 /* UIExplorerIntegrationTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UIExplorerIntegrationTests.m; sourceTree = ""; }; - 3DEFCE351D33A61500256E76 /* TestBundle.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = TestBundle.js; sourceTree = ""; }; + 3DD981D51D33C6FB007DC7BE /* TestBundle.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = TestBundle.js; sourceTree = ""; }; 58005BE41ABA80530062E044 /* RCTTest.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTTest.xcodeproj; path = ../../Libraries/RCTTest/RCTTest.xcodeproj; sourceTree = ""; }; 68FF44371CF6111500720EFD /* RCTBundleURLProviderTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTBundleURLProviderTests.m; sourceTree = ""; }; 83636F8E1B53F22C009F943E /* RCTUIManagerScenarioTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTUIManagerScenarioTests.m; sourceTree = ""; }; @@ -340,7 +340,6 @@ 1323F18D1C04ABAC0091BED0 /* Supporting Files */ = { isa = PBXGroup; children = ( - 3DEFCE351D33A61500256E76 /* TestBundle.js */, 13B07FB61A68108700A75B9A /* Info.plist */, 1323F1851C04AB9F0091BED0 /* bunny.png */, 1323F1861C04AB9F0091BED0 /* flux@3x.png */, @@ -415,7 +414,6 @@ 13B07FB51A68108700A75B9A /* Images.xcassets */, 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 13B07FB71A68108700A75B9A /* main.m */, - 1323F18E1C04ABEB0091BED0 /* Thumbnails */, 1323F18D1C04ABAC0091BED0 /* Supporting Files */, ); name = UIExplorer; @@ -454,6 +452,7 @@ 1497CFAB1B21F5E400C1F8F2 /* RCTUIManagerTests.m */, 13BCE84E1C9C209600DD7AAD /* RCTComponentPropsTests.m */, 143BC57E1B21E18100462512 /* Info.plist */, + 3DD981D51D33C6FB007DC7BE /* TestBundle.js */, 14D6D7101B220EB3001FB087 /* libOCMock.a */, 14D6D7011B220AE3001FB087 /* OCMock */, ); @@ -463,6 +462,7 @@ 143BC5961B21E3E100462512 /* UIExplorerIntegrationTests */ = { isa = PBXGroup; children = ( + 3D299BAE1D33EBFA00FA1057 /* RCTLoggingTests.m */, 27B885551BED29AF00008352 /* RCTRootViewIntegrationTests.m */, 3DB99D0B1BA0340600302749 /* UIExplorerIntegrationTests.m */, 143BC5A01B21E45C00462512 /* UIExplorerSnapshotTests.m */, @@ -862,7 +862,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 3DEFCE371D33A67200256E76 /* TestBundle.js in Resources */, + 3DD981D61D33C6FB007DC7BE /* TestBundle.js in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -871,7 +871,6 @@ buildActionMask = 2147483647; files = ( 1323F18A1C04AB9F0091BED0 /* flux@3x.png in Resources */, - 1323F18F1C04ABEB0091BED0 /* Thumbnails in Resources */, 1323F18B1C04AB9F0091BED0 /* hawk.png in Resources */, 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, @@ -934,6 +933,7 @@ files = ( 3DB99D0C1BA0340600302749 /* UIExplorerIntegrationTests.m in Sources */, 83636F8F1B53F22C009F943E /* RCTUIManagerScenarioTests.m in Sources */, + 3D299BAF1D33EBFA00FA1057 /* RCTLoggingTests.m in Sources */, 143BC5A11B21E45C00462512 /* UIExplorerSnapshotTests.m in Sources */, 27B885561BED29AF00008352 /* RCTRootViewIntegrationTests.m in Sources */, ); diff --git a/Examples/UIExplorer/UIExplorer/AppDelegate.m b/Examples/UIExplorer/UIExplorer/AppDelegate.m index 1ca2716f2..7e1273141 100644 --- a/Examples/UIExplorer/UIExplorer/AppDelegate.m +++ b/Examples/UIExplorer/UIExplorer/AppDelegate.m @@ -34,8 +34,7 @@ NSDictionary *initProps = nil; NSString *_routeUri = [[NSUserDefaults standardUserDefaults] stringForKey:@"route"]; if (_routeUri) { - initProps = @{@"exampleFromAppetizeParams": - [NSString stringWithFormat:@"rnuiexplorer://example/%@Example", _routeUri]}; + initProps = @{@"exampleFromAppetizeParams": [NSString stringWithFormat:@"rnuiexplorer://example/%@Example", _routeUri]}; } RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:_bridge @@ -68,7 +67,7 @@ * on the same Wi-Fi network. */ - sourceURL = [NSURL URLWithString:@"http://localhost:8081/Examples/UIExplorer/UIExplorerApp.ios.bundle?platform=ios&dev=true"]; + sourceURL = [NSURL URLWithString:@"http://localhost:8081/Examples/UIExplorer/js/UIExplorerApp.ios.bundle?platform=ios&dev=true"]; /** * OPTION 2 diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/RCTLoggingTests.m b/Examples/UIExplorer/UIExplorerIntegrationTests/RCTLoggingTests.m index fecc3b3a8..165bed01a 100644 --- a/Examples/UIExplorer/UIExplorerIntegrationTests/RCTLoggingTests.m +++ b/Examples/UIExplorer/UIExplorerIntegrationTests/RCTLoggingTests.m @@ -36,7 +36,7 @@ { NSURL *scriptURL; if (getenv("CI_USE_PACKAGER")) { - NSString *app = @"Examples/UIExplorer/UIExplorerIntegrationTests/js/IntegrationTestsApp"; + NSString *app = @"IntegrationTests/IntegrationTestsApp"; scriptURL = [NSURL URLWithString:[NSString stringWithFormat:@"http://localhost:8081/%@.bundle?platform=ios&dev=true", app]]; RCTAssert(scriptURL != nil, @"No scriptURL set"); } else { @@ -45,14 +45,14 @@ } _bridge = [[RCTBridge alloc] initWithBundleURL:scriptURL moduleProvider:NULL launchOptions:nil]; - NSDate *date = [NSDate dateWithTimeIntervalSinceNow:5]; + NSDate *date = [NSDate dateWithTimeIntervalSinceNow:60]; while (date.timeIntervalSinceNow > 0 && _bridge.loading) { [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; } XCTAssertFalse(_bridge.loading); _logSem = dispatch_semaphore_create(0); - RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { + RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, __unused NSString *fileName, __unused NSNumber *lineNumber, NSString *message) { if (source == RCTLogSourceJavaScript) { self->_lastLogLevel = level; self->_lastLogSource = source; @@ -96,6 +96,11 @@ [_bridge enqueueJSCall:@"LoggingTestModule.logErrorToConsole" args:@[@"Invoking console.error"]]; dispatch_semaphore_wait(_logSem, DISPATCH_TIME_FOREVER); + // For local bundles, we'll first get a warning about symbolication + if ([_bridge.bundleURL isFileURL]) { + dispatch_semaphore_wait(_logSem, DISPATCH_TIME_FOREVER); + } + XCTAssertEqual(_lastLogLevel, RCTLogLevelError); XCTAssertEqual(_lastLogSource, RCTLogSourceJavaScript); XCTAssertEqualObjects(_lastLogMessage, @"Invoking console.error"); @@ -103,6 +108,11 @@ [_bridge enqueueJSCall:@"LoggingTestModule.throwError" args:@[@"Throwing an error"]]; dispatch_semaphore_wait(_logSem, DISPATCH_TIME_FOREVER); + // For local bundles, we'll first get a warning about symbolication + if ([_bridge.bundleURL isFileURL]) { + dispatch_semaphore_wait(_logSem, DISPATCH_TIME_FOREVER); + } + XCTAssertEqual(_lastLogLevel, RCTLogLevelError); XCTAssertEqual(_lastLogSource, RCTLogSourceJavaScript); XCTAssertEqualObjects(_lastLogMessage, @"Throwing an error"); diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testLayoutExample_1@2x.png b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testLayoutExample_1@2x.png similarity index 100% rename from Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testLayoutExample_1@2x.png rename to Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testLayoutExample_1@2x.png diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testSliderExample_1@2x.png b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testSliderExample_1@2x.png similarity index 100% rename from Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testSliderExample_1@2x.png rename to Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testSliderExample_1@2x.png diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testSwitchExample_1@2x.png b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testSwitchExample_1@2x.png similarity index 100% rename from Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testSwitchExample_1@2x.png rename to Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testSwitchExample_1@2x.png diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testTabBarExample_1@2x.png b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testTabBarExample_1@2x.png similarity index 100% rename from Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testTabBarExample_1@2x.png rename to Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testTabBarExample_1@2x.png diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testTextExample_1@2x.png b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testTextExample_1@2x.png similarity index 100% rename from Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testTextExample_1@2x.png rename to Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testTextExample_1@2x.png diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testViewExample_1@2x.png b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testViewExample_1@2x.png similarity index 100% rename from Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-UIExplorerApp.ios/testViewExample_1@2x.png rename to Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testViewExample_1@2x.png diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerSnapshotTests.m b/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerSnapshotTests.m index b2a242c21..9de51c3ed 100644 --- a/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerSnapshotTests.m +++ b/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerSnapshotTests.m @@ -32,7 +32,7 @@ - (void)setUp { - _runner = RCTInitRunnerForApp(@"Examples/UIExplorer/UIExplorerApp.ios", nil); + _runner = RCTInitRunnerForApp(@"Examples/UIExplorer/js/UIExplorerApp.ios", nil); _runner.recordMode = NO; } diff --git a/Examples/UIExplorer/TestBundle.js b/Examples/UIExplorer/UIExplorerUnitTests/TestBundle.js similarity index 100% rename from Examples/UIExplorer/TestBundle.js rename to Examples/UIExplorer/UIExplorerUnitTests/TestBundle.js diff --git a/Examples/UIExplorer/android/app/build.gradle b/Examples/UIExplorer/android/app/build.gradle index ea65dc6a8..6a24213d1 100644 --- a/Examples/UIExplorer/android/app/build.gradle +++ b/Examples/UIExplorer/android/app/build.gradle @@ -59,7 +59,7 @@ import com.android.build.OutputFile project.ext.react = [ bundleAssetName: "UIExplorerApp.android.bundle", - entryFile: file("../../UIExplorerApp.android.js"), + entryFile: file("../../js/UIExplorerApp.android.js"), root: "../../../../", inputExcludes: ["android/**", "./**"] ] diff --git a/Examples/UIExplorer/android/app/src/main/java/com/facebook/react/uiapp/UIExplorerApplication.java b/Examples/UIExplorer/android/app/src/main/java/com/facebook/react/uiapp/UIExplorerApplication.java index 87dbd3735..897f9489d 100644 --- a/Examples/UIExplorer/android/app/src/main/java/com/facebook/react/uiapp/UIExplorerApplication.java +++ b/Examples/UIExplorer/android/app/src/main/java/com/facebook/react/uiapp/UIExplorerApplication.java @@ -30,7 +30,7 @@ public class UIExplorerApplication extends Application implements ReactApplicati private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { @Override public String getJSMainModuleName() { - return "Examples/UIExplorer/UIExplorerApp.android"; + return "Examples/UIExplorer/js/UIExplorerApp.android"; } @Override diff --git a/Examples/UIExplorer/AccessibilityAndroidExample.android.js b/Examples/UIExplorer/js/AccessibilityAndroidExample.android.js similarity index 95% rename from Examples/UIExplorer/AccessibilityAndroidExample.android.js rename to Examples/UIExplorer/js/AccessibilityAndroidExample.android.js index ff1f215da..9b3c5789a 100644 --- a/Examples/UIExplorer/AccessibilityAndroidExample.android.js +++ b/Examples/UIExplorer/js/AccessibilityAndroidExample.android.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AccessibilityIOSExample.js b/Examples/UIExplorer/js/AccessibilityIOSExample.js similarity index 86% rename from Examples/UIExplorer/AccessibilityIOSExample.js rename to Examples/UIExplorer/js/AccessibilityIOSExample.js index ca5628d6e..84b49c4b1 100644 --- a/Examples/UIExplorer/AccessibilityIOSExample.js +++ b/Examples/UIExplorer/js/AccessibilityIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ActionSheetIOSExample.js b/Examples/UIExplorer/js/ActionSheetIOSExample.js similarity index 94% rename from Examples/UIExplorer/ActionSheetIOSExample.js rename to Examples/UIExplorer/js/ActionSheetIOSExample.js index 4be6c7760..183e9cff9 100644 --- a/Examples/UIExplorer/ActionSheetIOSExample.js +++ b/Examples/UIExplorer/js/ActionSheetIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ActivityIndicatorExample.js b/Examples/UIExplorer/js/ActivityIndicatorExample.js similarity index 92% rename from Examples/UIExplorer/ActivityIndicatorExample.js rename to Examples/UIExplorer/js/ActivityIndicatorExample.js index 3ebf8c109..4832b1d0e 100644 --- a/Examples/UIExplorer/ActivityIndicatorExample.js +++ b/Examples/UIExplorer/js/ActivityIndicatorExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AdSupportIOSExample.js b/Examples/UIExplorer/js/AdSupportIOSExample.js similarity index 88% rename from Examples/UIExplorer/AdSupportIOSExample.js rename to Examples/UIExplorer/js/AdSupportIOSExample.js index 7a98fb1dc..5f6c4227f 100644 --- a/Examples/UIExplorer/AdSupportIOSExample.js +++ b/Examples/UIExplorer/js/AdSupportIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AlertExample.js b/Examples/UIExplorer/js/AlertExample.js similarity index 92% rename from Examples/UIExplorer/AlertExample.js rename to Examples/UIExplorer/js/AlertExample.js index 85416e069..8ee4813af 100644 --- a/Examples/UIExplorer/AlertExample.js +++ b/Examples/UIExplorer/js/AlertExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AlertIOSExample.js b/Examples/UIExplorer/js/AlertIOSExample.js similarity index 93% rename from Examples/UIExplorer/AlertIOSExample.js rename to Examples/UIExplorer/js/AlertIOSExample.js index 85d66d4a6..445824368 100644 --- a/Examples/UIExplorer/AlertIOSExample.js +++ b/Examples/UIExplorer/js/AlertIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AnimatedExample.js b/Examples/UIExplorer/js/AnimatedExample.js similarity index 95% rename from Examples/UIExplorer/AnimatedExample.js rename to Examples/UIExplorer/js/AnimatedExample.js index d11abbf90..461fd62ac 100644 --- a/Examples/UIExplorer/AnimatedExample.js +++ b/Examples/UIExplorer/js/AnimatedExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AnimatedGratuitousApp/AnExApp.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExApp.js similarity index 97% rename from Examples/UIExplorer/AnimatedGratuitousApp/AnExApp.js rename to Examples/UIExplorer/js/AnimatedGratuitousApp/AnExApp.js index 20153889a..d8e3addcf 100644 --- a/Examples/UIExplorer/AnimatedGratuitousApp/AnExApp.js +++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExApp.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AnimatedGratuitousApp/AnExBobble.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js similarity index 94% rename from Examples/UIExplorer/AnimatedGratuitousApp/AnExBobble.js rename to Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js index ebf26f013..94d2ce1a3 100644 --- a/Examples/UIExplorer/AnimatedGratuitousApp/AnExBobble.js +++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AnimatedGratuitousApp/AnExChained.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExChained.js similarity index 93% rename from Examples/UIExplorer/AnimatedGratuitousApp/AnExChained.js rename to Examples/UIExplorer/js/AnimatedGratuitousApp/AnExChained.js index aad9c5839..2707620d8 100644 --- a/Examples/UIExplorer/AnimatedGratuitousApp/AnExChained.js +++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExChained.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AnimatedGratuitousApp/AnExScroll.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExScroll.js similarity index 92% rename from Examples/UIExplorer/AnimatedGratuitousApp/AnExScroll.js rename to Examples/UIExplorer/js/AnimatedGratuitousApp/AnExScroll.js index 40ad63e3e..b195b1072 100644 --- a/Examples/UIExplorer/AnimatedGratuitousApp/AnExScroll.js +++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExScroll.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AnimatedGratuitousApp/AnExSet.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExSet.js similarity index 93% rename from Examples/UIExplorer/AnimatedGratuitousApp/AnExSet.js rename to Examples/UIExplorer/js/AnimatedGratuitousApp/AnExSet.js index 1df1f084c..464cf887a 100644 --- a/Examples/UIExplorer/AnimatedGratuitousApp/AnExSet.js +++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExSet.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AnimatedGratuitousApp/AnExSlides.md b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExSlides.md similarity index 100% rename from Examples/UIExplorer/AnimatedGratuitousApp/AnExSlides.md rename to Examples/UIExplorer/js/AnimatedGratuitousApp/AnExSlides.md diff --git a/Examples/UIExplorer/AnimatedGratuitousApp/AnExTilt.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js similarity index 93% rename from Examples/UIExplorer/AnimatedGratuitousApp/AnExTilt.js rename to Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js index 31c23c3bc..5acee72cf 100644 --- a/Examples/UIExplorer/AnimatedGratuitousApp/AnExTilt.js +++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AppStateExample.js b/Examples/UIExplorer/js/AppStateExample.js similarity index 100% rename from Examples/UIExplorer/AppStateExample.js rename to Examples/UIExplorer/js/AppStateExample.js diff --git a/Examples/UIExplorer/AssetScaledImageExample.js b/Examples/UIExplorer/js/AssetScaledImageExample.js similarity index 88% rename from Examples/UIExplorer/AssetScaledImageExample.js rename to Examples/UIExplorer/js/AssetScaledImageExample.js index 6b68e2aab..3d5c12a4d 100644 --- a/Examples/UIExplorer/AssetScaledImageExample.js +++ b/Examples/UIExplorer/js/AssetScaledImageExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/AsyncStorageExample.js b/Examples/UIExplorer/js/AsyncStorageExample.js similarity index 91% rename from Examples/UIExplorer/AsyncStorageExample.js rename to Examples/UIExplorer/js/AsyncStorageExample.js index ac8bd7889..8d26f7d32 100644 --- a/Examples/UIExplorer/AsyncStorageExample.js +++ b/Examples/UIExplorer/js/AsyncStorageExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/BorderExample.js b/Examples/UIExplorer/js/BorderExample.js similarity index 95% rename from Examples/UIExplorer/BorderExample.js rename to Examples/UIExplorer/js/BorderExample.js index 231b64f2c..f68a81fc0 100644 --- a/Examples/UIExplorer/BorderExample.js +++ b/Examples/UIExplorer/js/BorderExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/BoxShadowExample.js b/Examples/UIExplorer/js/BoxShadowExample.js similarity index 88% rename from Examples/UIExplorer/BoxShadowExample.js rename to Examples/UIExplorer/js/BoxShadowExample.js index 81ed1359b..90e40af25 100644 --- a/Examples/UIExplorer/BoxShadowExample.js +++ b/Examples/UIExplorer/js/BoxShadowExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/CameraRollExample.js b/Examples/UIExplorer/js/CameraRollExample.js similarity index 92% rename from Examples/UIExplorer/CameraRollExample.js rename to Examples/UIExplorer/js/CameraRollExample.js index 0dcad8adb..1a665321c 100644 --- a/Examples/UIExplorer/CameraRollExample.js +++ b/Examples/UIExplorer/js/CameraRollExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/CameraRollView.js b/Examples/UIExplorer/js/CameraRollView.js similarity index 95% rename from Examples/UIExplorer/CameraRollView.js rename to Examples/UIExplorer/js/CameraRollView.js index f5f428f95..238f00dc5 100644 --- a/Examples/UIExplorer/CameraRollView.js +++ b/Examples/UIExplorer/js/CameraRollView.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ClipboardExample.js b/Examples/UIExplorer/js/ClipboardExample.js similarity index 84% rename from Examples/UIExplorer/ClipboardExample.js rename to Examples/UIExplorer/js/ClipboardExample.js index 59373f9fd..0b7399b20 100644 --- a/Examples/UIExplorer/ClipboardExample.js +++ b/Examples/UIExplorer/js/ClipboardExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/DatePickerAndroidExample.js b/Examples/UIExplorer/js/DatePickerAndroidExample.js similarity index 93% rename from Examples/UIExplorer/DatePickerAndroidExample.js rename to Examples/UIExplorer/js/DatePickerAndroidExample.js index 42740cf90..c6abe38a0 100644 --- a/Examples/UIExplorer/DatePickerAndroidExample.js +++ b/Examples/UIExplorer/js/DatePickerAndroidExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/DatePickerIOSExample.js b/Examples/UIExplorer/js/DatePickerIOSExample.js similarity index 93% rename from Examples/UIExplorer/DatePickerIOSExample.js rename to Examples/UIExplorer/js/DatePickerIOSExample.js index a3dd7876c..8d00dd877 100644 --- a/Examples/UIExplorer/DatePickerIOSExample.js +++ b/Examples/UIExplorer/js/DatePickerIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ExampleTypes.js b/Examples/UIExplorer/js/ExampleTypes.js similarity index 75% rename from Examples/UIExplorer/ExampleTypes.js rename to Examples/UIExplorer/js/ExampleTypes.js index 691f4c6cf..3863bb5bb 100644 --- a/Examples/UIExplorer/ExampleTypes.js +++ b/Examples/UIExplorer/js/ExampleTypes.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/GeolocationExample.js b/Examples/UIExplorer/js/GeolocationExample.js similarity index 88% rename from Examples/UIExplorer/GeolocationExample.js rename to Examples/UIExplorer/js/GeolocationExample.js index 230127d66..ea4517159 100644 --- a/Examples/UIExplorer/GeolocationExample.js +++ b/Examples/UIExplorer/js/GeolocationExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ImageCapInsetsExample.js b/Examples/UIExplorer/js/ImageCapInsetsExample.js similarity index 87% rename from Examples/UIExplorer/ImageCapInsetsExample.js rename to Examples/UIExplorer/js/ImageCapInsetsExample.js index 48a9a9862..fe80a8612 100644 --- a/Examples/UIExplorer/ImageCapInsetsExample.js +++ b/Examples/UIExplorer/js/ImageCapInsetsExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ImageEditingExample.js b/Examples/UIExplorer/js/ImageEditingExample.js similarity index 96% rename from Examples/UIExplorer/ImageEditingExample.js rename to Examples/UIExplorer/js/ImageEditingExample.js index 20e710f92..32cda6829 100644 --- a/Examples/UIExplorer/ImageEditingExample.js +++ b/Examples/UIExplorer/js/ImageEditingExample.js @@ -1,5 +1,11 @@ - -/** +/* + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ImageExample.js b/Examples/UIExplorer/js/ImageExample.js similarity index 100% rename from Examples/UIExplorer/ImageExample.js rename to Examples/UIExplorer/js/ImageExample.js diff --git a/Examples/UIExplorer/KeyboardAvoidingViewExample.js b/Examples/UIExplorer/js/KeyboardAvoidingViewExample.js similarity index 100% rename from Examples/UIExplorer/KeyboardAvoidingViewExample.js rename to Examples/UIExplorer/js/KeyboardAvoidingViewExample.js diff --git a/Examples/UIExplorer/LayoutAnimationExample.js b/Examples/UIExplorer/js/LayoutAnimationExample.js similarity index 92% rename from Examples/UIExplorer/LayoutAnimationExample.js rename to Examples/UIExplorer/js/LayoutAnimationExample.js index ee2038dbf..10efb402b 100644 --- a/Examples/UIExplorer/LayoutAnimationExample.js +++ b/Examples/UIExplorer/js/LayoutAnimationExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/LayoutEventsExample.js b/Examples/UIExplorer/js/LayoutEventsExample.js similarity index 93% rename from Examples/UIExplorer/LayoutEventsExample.js rename to Examples/UIExplorer/js/LayoutEventsExample.js index 832519484..097b76cc8 100644 --- a/Examples/UIExplorer/LayoutEventsExample.js +++ b/Examples/UIExplorer/js/LayoutEventsExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/LayoutExample.js b/Examples/UIExplorer/js/LayoutExample.js similarity index 95% rename from Examples/UIExplorer/LayoutExample.js rename to Examples/UIExplorer/js/LayoutExample.js index 6d1095ae5..3b65fcbad 100644 --- a/Examples/UIExplorer/LayoutExample.js +++ b/Examples/UIExplorer/js/LayoutExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/LinkingExample.js b/Examples/UIExplorer/js/LinkingExample.js similarity index 88% rename from Examples/UIExplorer/LinkingExample.js rename to Examples/UIExplorer/js/LinkingExample.js index 390d00314..594209fe1 100644 --- a/Examples/UIExplorer/LinkingExample.js +++ b/Examples/UIExplorer/js/LinkingExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ListViewExample.js b/Examples/UIExplorer/js/ListViewExample.js similarity index 93% rename from Examples/UIExplorer/ListViewExample.js rename to Examples/UIExplorer/js/ListViewExample.js index 42e30de38..a392e17a1 100644 --- a/Examples/UIExplorer/ListViewExample.js +++ b/Examples/UIExplorer/js/ListViewExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ListViewGridLayoutExample.js b/Examples/UIExplorer/js/ListViewGridLayoutExample.js similarity index 93% rename from Examples/UIExplorer/ListViewGridLayoutExample.js rename to Examples/UIExplorer/js/ListViewGridLayoutExample.js index eadba9371..4ef2a110d 100644 --- a/Examples/UIExplorer/ListViewGridLayoutExample.js +++ b/Examples/UIExplorer/js/ListViewGridLayoutExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ListViewPagingExample.js b/Examples/UIExplorer/js/ListViewPagingExample.js similarity index 96% rename from Examples/UIExplorer/ListViewPagingExample.js rename to Examples/UIExplorer/js/ListViewPagingExample.js index 4d31db208..89c6c4b4b 100644 --- a/Examples/UIExplorer/ListViewPagingExample.js +++ b/Examples/UIExplorer/js/ListViewPagingExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/MapViewExample.js b/Examples/UIExplorer/js/MapViewExample.js similarity index 97% rename from Examples/UIExplorer/MapViewExample.js rename to Examples/UIExplorer/js/MapViewExample.js index d39370228..9851f0d0f 100644 --- a/Examples/UIExplorer/MapViewExample.js +++ b/Examples/UIExplorer/js/MapViewExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ModalExample.js b/Examples/UIExplorer/js/ModalExample.js similarity index 94% rename from Examples/UIExplorer/ModalExample.js rename to Examples/UIExplorer/js/ModalExample.js index 1717fb0e0..deb838960 100644 --- a/Examples/UIExplorer/ModalExample.js +++ b/Examples/UIExplorer/js/ModalExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/NativeAnimationsExample.js b/Examples/UIExplorer/js/NativeAnimationsExample.js similarity index 100% rename from Examples/UIExplorer/NativeAnimationsExample.js rename to Examples/UIExplorer/js/NativeAnimationsExample.js diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js b/Examples/UIExplorer/js/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js similarity index 100% rename from Examples/UIExplorer/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js rename to Examples/UIExplorer/js/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationCardStack-example.js b/Examples/UIExplorer/js/NavigationExperimental/NavigationCardStack-example.js similarity index 100% rename from Examples/UIExplorer/NavigationExperimental/NavigationCardStack-example.js rename to Examples/UIExplorer/js/NavigationExperimental/NavigationCardStack-example.js diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationExampleRow.js b/Examples/UIExplorer/js/NavigationExperimental/NavigationExampleRow.js similarity index 84% rename from Examples/UIExplorer/NavigationExperimental/NavigationExampleRow.js rename to Examples/UIExplorer/js/NavigationExperimental/NavigationExampleRow.js index 94a874a9a..9f6b27a18 100644 --- a/Examples/UIExplorer/NavigationExperimental/NavigationExampleRow.js +++ b/Examples/UIExplorer/js/NavigationExperimental/NavigationExampleRow.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationExperimentalExample.js b/Examples/UIExplorer/js/NavigationExperimental/NavigationExperimentalExample.js similarity index 100% rename from Examples/UIExplorer/NavigationExperimental/NavigationExperimentalExample.js rename to Examples/UIExplorer/js/NavigationExperimental/NavigationExperimentalExample.js diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationTransitioner-AnimatedView-example.js b/Examples/UIExplorer/js/NavigationExperimental/NavigationTransitioner-AnimatedView-example.js similarity index 100% rename from Examples/UIExplorer/NavigationExperimental/NavigationTransitioner-AnimatedView-example.js rename to Examples/UIExplorer/js/NavigationExperimental/NavigationTransitioner-AnimatedView-example.js diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationTransitioner-AnimatedView-pager-example.js b/Examples/UIExplorer/js/NavigationExperimental/NavigationTransitioner-AnimatedView-pager-example.js similarity index 100% rename from Examples/UIExplorer/NavigationExperimental/NavigationTransitioner-AnimatedView-pager-example.js rename to Examples/UIExplorer/js/NavigationExperimental/NavigationTransitioner-AnimatedView-pager-example.js diff --git a/Examples/UIExplorer/Navigator/BreadcrumbNavSample.js b/Examples/UIExplorer/js/Navigator/BreadcrumbNavSample.js similarity index 92% rename from Examples/UIExplorer/Navigator/BreadcrumbNavSample.js rename to Examples/UIExplorer/js/Navigator/BreadcrumbNavSample.js index 368944125..183ff03df 100644 --- a/Examples/UIExplorer/Navigator/BreadcrumbNavSample.js +++ b/Examples/UIExplorer/js/Navigator/BreadcrumbNavSample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/Navigator/JumpingNavSample.js b/Examples/UIExplorer/js/Navigator/JumpingNavSample.js similarity index 94% rename from Examples/UIExplorer/Navigator/JumpingNavSample.js rename to Examples/UIExplorer/js/Navigator/JumpingNavSample.js index 4f63f2d47..ef3e09da7 100644 --- a/Examples/UIExplorer/Navigator/JumpingNavSample.js +++ b/Examples/UIExplorer/js/Navigator/JumpingNavSample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/Navigator/NavigationBarSample.js b/Examples/UIExplorer/js/Navigator/NavigationBarSample.js similarity index 94% rename from Examples/UIExplorer/Navigator/NavigationBarSample.js rename to Examples/UIExplorer/js/Navigator/NavigationBarSample.js index a0b4461aa..b11629de0 100644 --- a/Examples/UIExplorer/Navigator/NavigationBarSample.js +++ b/Examples/UIExplorer/js/Navigator/NavigationBarSample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/Navigator/NavigatorExample.js b/Examples/UIExplorer/js/Navigator/NavigatorExample.js similarity index 94% rename from Examples/UIExplorer/Navigator/NavigatorExample.js rename to Examples/UIExplorer/js/Navigator/NavigatorExample.js index 1da8434b7..45158f642 100644 --- a/Examples/UIExplorer/Navigator/NavigatorExample.js +++ b/Examples/UIExplorer/js/Navigator/NavigatorExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/NavigatorIOSColorsExample.js b/Examples/UIExplorer/js/NavigatorIOSColorsExample.js similarity index 87% rename from Examples/UIExplorer/NavigatorIOSColorsExample.js rename to Examples/UIExplorer/js/NavigatorIOSColorsExample.js index 2f527c1c6..033d56f5d 100644 --- a/Examples/UIExplorer/NavigatorIOSColorsExample.js +++ b/Examples/UIExplorer/js/NavigatorIOSColorsExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/NavigatorIOSExample.js b/Examples/UIExplorer/js/NavigatorIOSExample.js similarity index 100% rename from Examples/UIExplorer/NavigatorIOSExample.js rename to Examples/UIExplorer/js/NavigatorIOSExample.js diff --git a/Examples/UIExplorer/NetInfoExample.js b/Examples/UIExplorer/js/NetInfoExample.js similarity index 93% rename from Examples/UIExplorer/NetInfoExample.js rename to Examples/UIExplorer/js/NetInfoExample.js index e64886ea5..540a84639 100644 --- a/Examples/UIExplorer/NetInfoExample.js +++ b/Examples/UIExplorer/js/NetInfoExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/PanResponderExample.js b/Examples/UIExplorer/js/PanResponderExample.js similarity index 100% rename from Examples/UIExplorer/PanResponderExample.js rename to Examples/UIExplorer/js/PanResponderExample.js diff --git a/Examples/UIExplorer/PermissionsExampleAndroid.android.js b/Examples/UIExplorer/js/PermissionsExampleAndroid.android.js similarity index 100% rename from Examples/UIExplorer/PermissionsExampleAndroid.android.js rename to Examples/UIExplorer/js/PermissionsExampleAndroid.android.js diff --git a/Examples/UIExplorer/PickerExample.js b/Examples/UIExplorer/js/PickerExample.js similarity index 93% rename from Examples/UIExplorer/PickerExample.js rename to Examples/UIExplorer/js/PickerExample.js index df29e3178..c45014d2c 100644 --- a/Examples/UIExplorer/PickerExample.js +++ b/Examples/UIExplorer/js/PickerExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/PickerIOSExample.js b/Examples/UIExplorer/js/PickerIOSExample.js similarity index 93% rename from Examples/UIExplorer/PickerIOSExample.js rename to Examples/UIExplorer/js/PickerIOSExample.js index 553013538..5b8e1988f 100644 --- a/Examples/UIExplorer/PickerIOSExample.js +++ b/Examples/UIExplorer/js/PickerIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/PointerEventsExample.js b/Examples/UIExplorer/js/PointerEventsExample.js similarity index 95% rename from Examples/UIExplorer/PointerEventsExample.js rename to Examples/UIExplorer/js/PointerEventsExample.js index 9e40ed2fa..5b15ebb27 100644 --- a/Examples/UIExplorer/PointerEventsExample.js +++ b/Examples/UIExplorer/js/PointerEventsExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ProgressBarAndroidExample.android.js b/Examples/UIExplorer/js/ProgressBarAndroidExample.android.js similarity index 88% rename from Examples/UIExplorer/ProgressBarAndroidExample.android.js rename to Examples/UIExplorer/js/ProgressBarAndroidExample.android.js index 2e08ab738..81be4637c 100644 --- a/Examples/UIExplorer/ProgressBarAndroidExample.android.js +++ b/Examples/UIExplorer/js/ProgressBarAndroidExample.android.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ProgressViewIOSExample.js b/Examples/UIExplorer/js/ProgressViewIOSExample.js similarity index 88% rename from Examples/UIExplorer/ProgressViewIOSExample.js rename to Examples/UIExplorer/js/ProgressViewIOSExample.js index 2cc816015..9967d0ff7 100644 --- a/Examples/UIExplorer/ProgressViewIOSExample.js +++ b/Examples/UIExplorer/js/ProgressViewIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/PushNotificationIOSExample.js b/Examples/UIExplorer/js/PushNotificationIOSExample.js similarity index 93% rename from Examples/UIExplorer/PushNotificationIOSExample.js rename to Examples/UIExplorer/js/PushNotificationIOSExample.js index ee137d83a..064a44580 100644 --- a/Examples/UIExplorer/PushNotificationIOSExample.js +++ b/Examples/UIExplorer/js/PushNotificationIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/RCTRootViewIOSExample.js b/Examples/UIExplorer/js/RCTRootViewIOSExample.js similarity index 90% rename from Examples/UIExplorer/RCTRootViewIOSExample.js rename to Examples/UIExplorer/js/RCTRootViewIOSExample.js index 349b022d9..1228f2f29 100644 --- a/Examples/UIExplorer/RCTRootViewIOSExample.js +++ b/Examples/UIExplorer/js/RCTRootViewIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/RefreshControlExample.js b/Examples/UIExplorer/js/RefreshControlExample.js similarity index 91% rename from Examples/UIExplorer/RefreshControlExample.js rename to Examples/UIExplorer/js/RefreshControlExample.js index e3fb6e184..9d85274cb 100644 --- a/Examples/UIExplorer/RefreshControlExample.js +++ b/Examples/UIExplorer/js/RefreshControlExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/RootViewSizeFlexibilityExampleApp.js b/Examples/UIExplorer/js/RootViewSizeFlexibilityExampleApp.js similarity index 86% rename from Examples/UIExplorer/RootViewSizeFlexibilityExampleApp.js rename to Examples/UIExplorer/js/RootViewSizeFlexibilityExampleApp.js index 285404a38..4fe03451b 100644 --- a/Examples/UIExplorer/RootViewSizeFlexibilityExampleApp.js +++ b/Examples/UIExplorer/js/RootViewSizeFlexibilityExampleApp.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ScrollViewExample.js b/Examples/UIExplorer/js/ScrollViewExample.js similarity index 94% rename from Examples/UIExplorer/ScrollViewExample.js rename to Examples/UIExplorer/js/ScrollViewExample.js index 358c8f66a..de6ac3f7b 100644 --- a/Examples/UIExplorer/ScrollViewExample.js +++ b/Examples/UIExplorer/js/ScrollViewExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ScrollViewSimpleExample.js b/Examples/UIExplorer/js/ScrollViewSimpleExample.js similarity index 87% rename from Examples/UIExplorer/ScrollViewSimpleExample.js rename to Examples/UIExplorer/js/ScrollViewSimpleExample.js index a2bd44621..60efdad42 100644 --- a/Examples/UIExplorer/ScrollViewSimpleExample.js +++ b/Examples/UIExplorer/js/ScrollViewSimpleExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/SegmentedControlIOSExample.js b/Examples/UIExplorer/js/SegmentedControlIOSExample.js similarity index 93% rename from Examples/UIExplorer/SegmentedControlIOSExample.js rename to Examples/UIExplorer/js/SegmentedControlIOSExample.js index bdac8e9e4..4a23037a2 100644 --- a/Examples/UIExplorer/SegmentedControlIOSExample.js +++ b/Examples/UIExplorer/js/SegmentedControlIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/SetPropertiesExampleApp.js b/Examples/UIExplorer/js/SetPropertiesExampleApp.js similarity index 79% rename from Examples/UIExplorer/SetPropertiesExampleApp.js rename to Examples/UIExplorer/js/SetPropertiesExampleApp.js index 6d0be8034..db17baaa9 100644 --- a/Examples/UIExplorer/SetPropertiesExampleApp.js +++ b/Examples/UIExplorer/js/SetPropertiesExampleApp.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/SliderExample.js b/Examples/UIExplorer/js/SliderExample.js similarity index 92% rename from Examples/UIExplorer/SliderExample.js rename to Examples/UIExplorer/js/SliderExample.js index a987671b5..ff7b31de9 100644 --- a/Examples/UIExplorer/SliderExample.js +++ b/Examples/UIExplorer/js/SliderExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/SliderIOSExample.js b/Examples/UIExplorer/js/SliderIOSExample.js similarity index 90% rename from Examples/UIExplorer/SliderIOSExample.js rename to Examples/UIExplorer/js/SliderIOSExample.js index eaabfeaa8..8cd69a825 100644 --- a/Examples/UIExplorer/SliderIOSExample.js +++ b/Examples/UIExplorer/js/SliderIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/SnapshotExample.js b/Examples/UIExplorer/js/SnapshotExample.js similarity index 85% rename from Examples/UIExplorer/SnapshotExample.js rename to Examples/UIExplorer/js/SnapshotExample.js index bb9ddb7ad..1a3e5c181 100644 --- a/Examples/UIExplorer/SnapshotExample.js +++ b/Examples/UIExplorer/js/SnapshotExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/StatusBarExample.js b/Examples/UIExplorer/js/StatusBarExample.js similarity index 97% rename from Examples/UIExplorer/StatusBarExample.js rename to Examples/UIExplorer/js/StatusBarExample.js index 7026a8f29..5a213a32c 100644 --- a/Examples/UIExplorer/StatusBarExample.js +++ b/Examples/UIExplorer/js/StatusBarExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/SwitchExample.js b/Examples/UIExplorer/js/SwitchExample.js similarity index 93% rename from Examples/UIExplorer/SwitchExample.js rename to Examples/UIExplorer/js/SwitchExample.js index dc4d1e391..0fc645626 100644 --- a/Examples/UIExplorer/SwitchExample.js +++ b/Examples/UIExplorer/js/SwitchExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/TabBarIOSExample.js b/Examples/UIExplorer/js/TabBarIOSExample.js similarity index 93% rename from Examples/UIExplorer/TabBarIOSExample.js rename to Examples/UIExplorer/js/TabBarIOSExample.js index 435f2de21..30a28c6b3 100644 --- a/Examples/UIExplorer/TabBarIOSExample.js +++ b/Examples/UIExplorer/js/TabBarIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/TextExample.android.js b/Examples/UIExplorer/js/TextExample.android.js similarity index 98% rename from Examples/UIExplorer/TextExample.android.js rename to Examples/UIExplorer/js/TextExample.android.js index 230bd79bb..53715fa84 100644 --- a/Examples/UIExplorer/TextExample.android.js +++ b/Examples/UIExplorer/js/TextExample.android.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/TextExample.ios.js b/Examples/UIExplorer/js/TextExample.ios.js similarity index 100% rename from Examples/UIExplorer/TextExample.ios.js rename to Examples/UIExplorer/js/TextExample.ios.js diff --git a/Examples/UIExplorer/TextInputExample.android.js b/Examples/UIExplorer/js/TextInputExample.android.js similarity index 98% rename from Examples/UIExplorer/TextInputExample.android.js rename to Examples/UIExplorer/js/TextInputExample.android.js index 4891ae8e4..83731531d 100644 --- a/Examples/UIExplorer/TextInputExample.android.js +++ b/Examples/UIExplorer/js/TextInputExample.android.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/TextInputExample.ios.js b/Examples/UIExplorer/js/TextInputExample.ios.js similarity index 98% rename from Examples/UIExplorer/TextInputExample.ios.js rename to Examples/UIExplorer/js/TextInputExample.ios.js index bebce9203..6c166b391 100644 --- a/Examples/UIExplorer/TextInputExample.ios.js +++ b/Examples/UIExplorer/js/TextInputExample.ios.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/Thumbnails/bandaged.png b/Examples/UIExplorer/js/Thumbnails/bandaged.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/bandaged.png rename to Examples/UIExplorer/js/Thumbnails/bandaged.png diff --git a/Examples/UIExplorer/Thumbnails/call.png b/Examples/UIExplorer/js/Thumbnails/call.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/call.png rename to Examples/UIExplorer/js/Thumbnails/call.png diff --git a/Examples/UIExplorer/Thumbnails/dislike.png b/Examples/UIExplorer/js/Thumbnails/dislike.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/dislike.png rename to Examples/UIExplorer/js/Thumbnails/dislike.png diff --git a/Examples/UIExplorer/Thumbnails/fist.png b/Examples/UIExplorer/js/Thumbnails/fist.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/fist.png rename to Examples/UIExplorer/js/Thumbnails/fist.png diff --git a/Examples/UIExplorer/Thumbnails/flowers.png b/Examples/UIExplorer/js/Thumbnails/flowers.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/flowers.png rename to Examples/UIExplorer/js/Thumbnails/flowers.png diff --git a/Examples/UIExplorer/Thumbnails/heart.png b/Examples/UIExplorer/js/Thumbnails/heart.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/heart.png rename to Examples/UIExplorer/js/Thumbnails/heart.png diff --git a/Examples/UIExplorer/Thumbnails/like.png b/Examples/UIExplorer/js/Thumbnails/like.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/like.png rename to Examples/UIExplorer/js/Thumbnails/like.png diff --git a/Examples/UIExplorer/Thumbnails/liking.png b/Examples/UIExplorer/js/Thumbnails/liking.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/liking.png rename to Examples/UIExplorer/js/Thumbnails/liking.png diff --git a/Examples/UIExplorer/Thumbnails/party.png b/Examples/UIExplorer/js/Thumbnails/party.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/party.png rename to Examples/UIExplorer/js/Thumbnails/party.png diff --git a/Examples/UIExplorer/Thumbnails/poke.png b/Examples/UIExplorer/js/Thumbnails/poke.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/poke.png rename to Examples/UIExplorer/js/Thumbnails/poke.png diff --git a/Examples/UIExplorer/Thumbnails/superlike.png b/Examples/UIExplorer/js/Thumbnails/superlike.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/superlike.png rename to Examples/UIExplorer/js/Thumbnails/superlike.png diff --git a/Examples/UIExplorer/Thumbnails/victory.png b/Examples/UIExplorer/js/Thumbnails/victory.png similarity index 100% rename from Examples/UIExplorer/Thumbnails/victory.png rename to Examples/UIExplorer/js/Thumbnails/victory.png diff --git a/Examples/UIExplorer/TimePickerAndroidExample.js b/Examples/UIExplorer/js/TimePickerAndroidExample.js similarity index 92% rename from Examples/UIExplorer/TimePickerAndroidExample.js rename to Examples/UIExplorer/js/TimePickerAndroidExample.js index 60ef949dd..db3d54acf 100644 --- a/Examples/UIExplorer/TimePickerAndroidExample.js +++ b/Examples/UIExplorer/js/TimePickerAndroidExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/TimerExample.js b/Examples/UIExplorer/js/TimerExample.js similarity index 95% rename from Examples/UIExplorer/TimerExample.js rename to Examples/UIExplorer/js/TimerExample.js index 8fdc92081..3b365ce2c 100644 --- a/Examples/UIExplorer/TimerExample.js +++ b/Examples/UIExplorer/js/TimerExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ToastAndroidExample.android.js b/Examples/UIExplorer/js/ToastAndroidExample.android.js similarity index 87% rename from Examples/UIExplorer/ToastAndroidExample.android.js rename to Examples/UIExplorer/js/ToastAndroidExample.android.js index 9bb8aaa0b..53cd3a95a 100644 --- a/Examples/UIExplorer/ToastAndroidExample.android.js +++ b/Examples/UIExplorer/js/ToastAndroidExample.android.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ToolbarAndroidExample.android.js b/Examples/UIExplorer/js/ToolbarAndroidExample.android.js similarity index 93% rename from Examples/UIExplorer/ToolbarAndroidExample.android.js rename to Examples/UIExplorer/js/ToolbarAndroidExample.android.js index 95decb766..b0fb8efbc 100644 --- a/Examples/UIExplorer/ToolbarAndroidExample.android.js +++ b/Examples/UIExplorer/js/ToolbarAndroidExample.android.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/TouchableExample.js b/Examples/UIExplorer/js/TouchableExample.js similarity index 97% rename from Examples/UIExplorer/TouchableExample.js rename to Examples/UIExplorer/js/TouchableExample.js index 12f417b2d..69e3819c1 100644 --- a/Examples/UIExplorer/TouchableExample.js +++ b/Examples/UIExplorer/js/TouchableExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/TransformExample.js b/Examples/UIExplorer/js/TransformExample.js similarity index 95% rename from Examples/UIExplorer/TransformExample.js rename to Examples/UIExplorer/js/TransformExample.js index c85cac0fd..a13e9c345 100644 --- a/Examples/UIExplorer/TransformExample.js +++ b/Examples/UIExplorer/js/TransformExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/TransparentHitTestExample.js b/Examples/UIExplorer/js/TransparentHitTestExample.js similarity index 100% rename from Examples/UIExplorer/TransparentHitTestExample.js rename to Examples/UIExplorer/js/TransparentHitTestExample.js diff --git a/Examples/UIExplorer/UIExplorerActions.js b/Examples/UIExplorer/js/UIExplorerActions.js similarity index 100% rename from Examples/UIExplorer/UIExplorerActions.js rename to Examples/UIExplorer/js/UIExplorerActions.js diff --git a/Examples/UIExplorer/UIExplorerApp.android.js b/Examples/UIExplorer/js/UIExplorerApp.android.js similarity index 100% rename from Examples/UIExplorer/UIExplorerApp.android.js rename to Examples/UIExplorer/js/UIExplorerApp.android.js diff --git a/Examples/UIExplorer/UIExplorerApp.ios.js b/Examples/UIExplorer/js/UIExplorerApp.ios.js similarity index 100% rename from Examples/UIExplorer/UIExplorerApp.ios.js rename to Examples/UIExplorer/js/UIExplorerApp.ios.js diff --git a/Examples/UIExplorer/UIExplorerBlock.js b/Examples/UIExplorer/js/UIExplorerBlock.js similarity index 88% rename from Examples/UIExplorer/UIExplorerBlock.js rename to Examples/UIExplorer/js/UIExplorerBlock.js index 9a3c7a549..160fcbc31 100644 --- a/Examples/UIExplorer/UIExplorerBlock.js +++ b/Examples/UIExplorer/js/UIExplorerBlock.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/UIExplorerButton.js b/Examples/UIExplorer/js/UIExplorerButton.js similarity index 82% rename from Examples/UIExplorer/UIExplorerButton.js rename to Examples/UIExplorer/js/UIExplorerButton.js index ba6c21324..51d5e1a66 100644 --- a/Examples/UIExplorer/UIExplorerButton.js +++ b/Examples/UIExplorer/js/UIExplorerButton.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/UIExplorerExampleList.js b/Examples/UIExplorer/js/UIExplorerExampleList.js similarity index 100% rename from Examples/UIExplorer/UIExplorerExampleList.js rename to Examples/UIExplorer/js/UIExplorerExampleList.js diff --git a/Examples/UIExplorer/UIExplorerList.android.js b/Examples/UIExplorer/js/UIExplorerList.android.js similarity index 100% rename from Examples/UIExplorer/UIExplorerList.android.js rename to Examples/UIExplorer/js/UIExplorerList.android.js diff --git a/Examples/UIExplorer/UIExplorerList.ios.js b/Examples/UIExplorer/js/UIExplorerList.ios.js similarity index 100% rename from Examples/UIExplorer/UIExplorerList.ios.js rename to Examples/UIExplorer/js/UIExplorerList.ios.js diff --git a/Examples/UIExplorer/UIExplorerNavigationReducer.js b/Examples/UIExplorer/js/UIExplorerNavigationReducer.js similarity index 100% rename from Examples/UIExplorer/UIExplorerNavigationReducer.js rename to Examples/UIExplorer/js/UIExplorerNavigationReducer.js diff --git a/Examples/UIExplorer/UIExplorerPage.js b/Examples/UIExplorer/js/UIExplorerPage.js similarity index 87% rename from Examples/UIExplorer/UIExplorerPage.js rename to Examples/UIExplorer/js/UIExplorerPage.js index 3aaf4119c..3991fef11 100644 --- a/Examples/UIExplorer/UIExplorerPage.js +++ b/Examples/UIExplorer/js/UIExplorerPage.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/UIExplorerStateTitleMap.js b/Examples/UIExplorer/js/UIExplorerStateTitleMap.js similarity index 100% rename from Examples/UIExplorer/UIExplorerStateTitleMap.js rename to Examples/UIExplorer/js/UIExplorerStateTitleMap.js diff --git a/Examples/UIExplorer/UIExplorerTitle.js b/Examples/UIExplorer/js/UIExplorerTitle.js similarity index 81% rename from Examples/UIExplorer/UIExplorerTitle.js rename to Examples/UIExplorer/js/UIExplorerTitle.js index 81a74dc27..33feaf705 100644 --- a/Examples/UIExplorer/UIExplorerTitle.js +++ b/Examples/UIExplorer/js/UIExplorerTitle.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/URIActionMap.js b/Examples/UIExplorer/js/URIActionMap.js similarity index 85% rename from Examples/UIExplorer/URIActionMap.js rename to Examples/UIExplorer/js/URIActionMap.js index 2940e0736..63051ea75 100644 --- a/Examples/UIExplorer/URIActionMap.js +++ b/Examples/UIExplorer/js/URIActionMap.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/VibrationExample.js b/Examples/UIExplorer/js/VibrationExample.js similarity index 89% rename from Examples/UIExplorer/VibrationExample.js rename to Examples/UIExplorer/js/VibrationExample.js index e4948e54c..554ae2f1f 100644 --- a/Examples/UIExplorer/VibrationExample.js +++ b/Examples/UIExplorer/js/VibrationExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/VibrationIOSExample.js b/Examples/UIExplorer/js/VibrationIOSExample.js similarity index 82% rename from Examples/UIExplorer/VibrationIOSExample.js rename to Examples/UIExplorer/js/VibrationIOSExample.js index cce819f99..59d1b3e35 100644 --- a/Examples/UIExplorer/VibrationIOSExample.js +++ b/Examples/UIExplorer/js/VibrationIOSExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/ViewExample.js b/Examples/UIExplorer/js/ViewExample.js similarity index 100% rename from Examples/UIExplorer/ViewExample.js rename to Examples/UIExplorer/js/ViewExample.js diff --git a/Examples/UIExplorer/ViewPagerAndroidExample.android.js b/Examples/UIExplorer/js/ViewPagerAndroidExample.android.js similarity index 100% rename from Examples/UIExplorer/ViewPagerAndroidExample.android.js rename to Examples/UIExplorer/js/ViewPagerAndroidExample.android.js diff --git a/Examples/UIExplorer/WebSocketExample.js b/Examples/UIExplorer/js/WebSocketExample.js similarity index 100% rename from Examples/UIExplorer/WebSocketExample.js rename to Examples/UIExplorer/js/WebSocketExample.js diff --git a/Examples/UIExplorer/WebViewExample.js b/Examples/UIExplorer/js/WebViewExample.js similarity index 96% rename from Examples/UIExplorer/WebViewExample.js rename to Examples/UIExplorer/js/WebViewExample.js index 9e58ae67c..d41ea15a1 100644 --- a/Examples/UIExplorer/WebViewExample.js +++ b/Examples/UIExplorer/js/WebViewExample.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/XHRExample.android.js b/Examples/UIExplorer/js/XHRExample.android.js similarity index 97% rename from Examples/UIExplorer/XHRExample.android.js rename to Examples/UIExplorer/js/XHRExample.android.js index 991f88d45..c6b0b446f 100644 --- a/Examples/UIExplorer/XHRExample.android.js +++ b/Examples/UIExplorer/js/XHRExample.android.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/XHRExample.ios.js b/Examples/UIExplorer/js/XHRExample.ios.js similarity index 100% rename from Examples/UIExplorer/XHRExample.ios.js rename to Examples/UIExplorer/js/XHRExample.ios.js diff --git a/Examples/UIExplorer/XHRExampleCookies.js b/Examples/UIExplorer/js/XHRExampleCookies.js similarity index 92% rename from Examples/UIExplorer/XHRExampleCookies.js rename to Examples/UIExplorer/js/XHRExampleCookies.js index d07c7af03..783239149 100644 --- a/Examples/UIExplorer/XHRExampleCookies.js +++ b/Examples/UIExplorer/js/XHRExampleCookies.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/XHRExampleFetch.js b/Examples/UIExplorer/js/XHRExampleFetch.js similarity index 89% rename from Examples/UIExplorer/XHRExampleFetch.js rename to Examples/UIExplorer/js/XHRExampleFetch.js index c2d7c0076..06a90dac3 100644 --- a/Examples/UIExplorer/XHRExampleFetch.js +++ b/Examples/UIExplorer/js/XHRExampleFetch.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/XHRExampleHeaders.js b/Examples/UIExplorer/js/XHRExampleHeaders.js similarity index 90% rename from Examples/UIExplorer/XHRExampleHeaders.js rename to Examples/UIExplorer/js/XHRExampleHeaders.js index ed75ad0ad..20ecbd9ea 100644 --- a/Examples/UIExplorer/XHRExampleHeaders.js +++ b/Examples/UIExplorer/js/XHRExampleHeaders.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/XHRExampleOnTimeOut.js b/Examples/UIExplorer/js/XHRExampleOnTimeOut.js similarity index 89% rename from Examples/UIExplorer/XHRExampleOnTimeOut.js rename to Examples/UIExplorer/js/XHRExampleOnTimeOut.js index 4fbd2aa82..1c0643091 100644 --- a/Examples/UIExplorer/XHRExampleOnTimeOut.js +++ b/Examples/UIExplorer/js/XHRExampleOnTimeOut.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/bunny.png b/Examples/UIExplorer/js/bunny.png similarity index 100% rename from Examples/UIExplorer/bunny.png rename to Examples/UIExplorer/js/bunny.png diff --git a/Examples/UIExplorer/createExamplePage.js b/Examples/UIExplorer/js/createExamplePage.js similarity index 90% rename from Examples/UIExplorer/createExamplePage.js rename to Examples/UIExplorer/js/createExamplePage.js index 72a9bc685..2a037dbe0 100644 --- a/Examples/UIExplorer/createExamplePage.js +++ b/Examples/UIExplorer/js/createExamplePage.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * diff --git a/Examples/UIExplorer/flux@3x.png b/Examples/UIExplorer/js/flux@3x.png similarity index 100% rename from Examples/UIExplorer/flux@3x.png rename to Examples/UIExplorer/js/flux@3x.png diff --git a/Examples/UIExplorer/hawk.png b/Examples/UIExplorer/js/hawk.png similarity index 100% rename from Examples/UIExplorer/hawk.png rename to Examples/UIExplorer/js/hawk.png diff --git a/Examples/UIExplorer/helloworld.html b/Examples/UIExplorer/js/helloworld.html similarity index 100% rename from Examples/UIExplorer/helloworld.html rename to Examples/UIExplorer/js/helloworld.html diff --git a/Examples/UIExplorer/relay@3x.png b/Examples/UIExplorer/js/relay@3x.png similarity index 100% rename from Examples/UIExplorer/relay@3x.png rename to Examples/UIExplorer/js/relay@3x.png diff --git a/Examples/UIExplorer/slider-left.png b/Examples/UIExplorer/js/slider-left.png similarity index 100% rename from Examples/UIExplorer/slider-left.png rename to Examples/UIExplorer/js/slider-left.png diff --git a/Examples/UIExplorer/slider-left@2x.png b/Examples/UIExplorer/js/slider-left@2x.png similarity index 100% rename from Examples/UIExplorer/slider-left@2x.png rename to Examples/UIExplorer/js/slider-left@2x.png diff --git a/Examples/UIExplorer/slider-right.png b/Examples/UIExplorer/js/slider-right.png similarity index 100% rename from Examples/UIExplorer/slider-right.png rename to Examples/UIExplorer/js/slider-right.png diff --git a/Examples/UIExplorer/slider-right@2x.png b/Examples/UIExplorer/js/slider-right@2x.png similarity index 100% rename from Examples/UIExplorer/slider-right@2x.png rename to Examples/UIExplorer/js/slider-right@2x.png diff --git a/Examples/UIExplorer/slider.png b/Examples/UIExplorer/js/slider.png similarity index 100% rename from Examples/UIExplorer/slider.png rename to Examples/UIExplorer/js/slider.png diff --git a/Examples/UIExplorer/slider@2x.png b/Examples/UIExplorer/js/slider@2x.png similarity index 100% rename from Examples/UIExplorer/slider@2x.png rename to Examples/UIExplorer/js/slider@2x.png diff --git a/Examples/UIExplorer/uie_comment_highlighted@2x.png b/Examples/UIExplorer/js/uie_comment_highlighted@2x.png similarity index 100% rename from Examples/UIExplorer/uie_comment_highlighted@2x.png rename to Examples/UIExplorer/js/uie_comment_highlighted@2x.png diff --git a/Examples/UIExplorer/uie_comment_normal@2x.png b/Examples/UIExplorer/js/uie_comment_normal@2x.png similarity index 100% rename from Examples/UIExplorer/uie_comment_normal@2x.png rename to Examples/UIExplorer/js/uie_comment_normal@2x.png diff --git a/Examples/UIExplorer/uie_thumb_big.png b/Examples/UIExplorer/js/uie_thumb_big.png similarity index 100% rename from Examples/UIExplorer/uie_thumb_big.png rename to Examples/UIExplorer/js/uie_thumb_big.png diff --git a/Examples/UIExplorer/uie_thumb_normal@2x.png b/Examples/UIExplorer/js/uie_thumb_normal@2x.png similarity index 100% rename from Examples/UIExplorer/uie_thumb_normal@2x.png rename to Examples/UIExplorer/js/uie_thumb_normal@2x.png diff --git a/Examples/UIExplorer/uie_thumb_selected@2x.png b/Examples/UIExplorer/js/uie_thumb_selected@2x.png similarity index 100% rename from Examples/UIExplorer/uie_thumb_selected@2x.png rename to Examples/UIExplorer/js/uie_thumb_selected@2x.png diff --git a/Examples/UIExplorer/websocket_test_server.js b/Examples/UIExplorer/js/websocket_test_server.js similarity index 81% rename from Examples/UIExplorer/websocket_test_server.js rename to Examples/UIExplorer/js/websocket_test_server.js index 242401278..42f44b126 100644 --- a/Examples/UIExplorer/websocket_test_server.js +++ b/Examples/UIExplorer/js/websocket_test_server.js @@ -1,4 +1,11 @@ /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. *