Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix namespaces

  • Loading branch information...
commit db37f331d6bf91479b580533657c1b11af74376c 1 parent fd053a7
@nikhilk authored
Showing with 25 additions and 29 deletions.
  1. +1 −2  fx/Sharpen/Core/Application.Behaviors.cs
  2. +2 −2 fx/Sharpen/Core/Application.Bindings.cs
  3. +1 −2  fx/Sharpen/Core/Application.Services.cs
  4. +1 −2  fx/Sharpen/Core/Application.Templates.cs
  5. +1 −2  fx/Sharpen/Core/Application.cs
  6. +1 −1  fx/Sharpen/Core/Behavior.cs
  7. +1 −1  fx/Sharpen/Core/BehaviorRegistration.cs
  8. +1 −1  fx/Sharpen/Core/Binder.cs
  9. +1 −1  fx/Sharpen/Core/BinderFactory.cs
  10. +1 −1  fx/Sharpen/Core/BinderManager.cs
  11. +1 −1  fx/Sharpen/Core/Bindings/BindExpression.cs
  12. +1 −1  fx/Sharpen/Core/Bindings/ContentBinder.cs
  13. +1 −1  fx/Sharpen/Core/Bindings/EventBinder.cs
  14. +1 −1  fx/Sharpen/Core/Bindings/PropertyBinder.cs
  15. +1 −1  fx/Sharpen/Core/Bindings/ValueBinder.cs
  16. +1 −1  fx/Sharpen/Core/Bindings/VisibilityBinder.cs
  17. +1 −1  fx/Sharpen/Core/Core.csproj
  18. +1 −1  fx/Sharpen/Core/Expression.cs
  19. +1 −1  fx/Sharpen/Core/ExpressionFactory.cs
  20. +1 −1  fx/Sharpen/Core/{Utility → }/OptionsParser.cs
  21. +1 −1  fx/Sharpen/Core/Properties/TemplateEngine.js
  22. +1 −1  fx/Sharpen/Core/ServiceRegistration.cs
  23. +1 −1  fx/Sharpen/Core/Template.cs
  24. +1 −1  fx/Sharpen/Core/TemplateEngine.cs
View
3  fx/Sharpen/Core/Application.Behaviors.cs
@@ -8,9 +8,8 @@
using System.Diagnostics;
using System.Html;
using System.Runtime.CompilerServices;
-using Sharpen.Html.Utility;
-namespace Sharpen.Html {
+namespace Sharpen {
public sealed partial class Application {
View
4 fx/Sharpen/Core/Application.Bindings.cs
@@ -7,9 +7,9 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.Html;
-using Sharpen.Html.Bindings;
+using Sharpen.Bindings;
-namespace Sharpen.Html {
+namespace Sharpen {
public sealed partial class Application {
View
3  fx/Sharpen/Core/Application.Services.cs
@@ -8,9 +8,8 @@
using System.ComponentModel;
using System.Diagnostics;
using System.Html;
-using Sharpen.Html.Utility;
-namespace Sharpen.Html {
+namespace Sharpen {
public sealed partial class Application {
View
3  fx/Sharpen/Core/Application.Templates.cs
@@ -7,9 +7,8 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.Html;
-using Sharpen.Html.Utility;
-namespace Sharpen.Html {
+namespace Sharpen {
public sealed partial class Application {
View
3  fx/Sharpen/Core/Application.cs
@@ -9,9 +9,8 @@
using System.Diagnostics;
using System.Html;
using System.Runtime.CompilerServices;
-using Sharpen.Html.Utility;
-namespace Sharpen.Html {
+namespace Sharpen {
/// <summary>
/// A page-level singleton representing the current application. It provides core
View
2  fx/Sharpen/Core/Behavior.cs
@@ -8,7 +8,7 @@
using System.Diagnostics;
using System.Html;
-namespace Sharpen.Html {
+namespace Sharpen {
/// <summary>
/// Represents a script objects that can be attached to an Element to
View
2  fx/Sharpen/Core/BehaviorRegistration.cs
@@ -6,7 +6,7 @@
using System;
using System.Runtime.CompilerServices;
-namespace Sharpen.Html {
+namespace Sharpen {
[ScriptImport]
[ScriptIgnoreNamespace]
View
2  fx/Sharpen/Core/Binder.cs
@@ -5,7 +5,7 @@
using System;
-namespace Sharpen.Html {
+namespace Sharpen {
/// <summary>
/// A binder is an object that performs the work of binding an expression value
View
2  fx/Sharpen/Core/BinderFactory.cs
@@ -6,7 +6,7 @@
using System;
using System.Html;
-namespace Sharpen.Html {
+namespace Sharpen {
/// <summary>
/// Creates an expression binder given an element, the bound property and
View
2  fx/Sharpen/Core/BinderManager.cs
@@ -8,7 +8,7 @@
using System.Diagnostics;
using System.Html;
-namespace Sharpen.Html {
+namespace Sharpen {
internal sealed class BinderManager : Behavior {
View
2  fx/Sharpen/Core/Bindings/BindExpression.cs
@@ -6,7 +6,7 @@
using System;
using System.ComponentModel;
-namespace Sharpen.Html.Bindings {
+namespace Sharpen.Bindings {
/// <summary>
/// Implementation of an expression that binds to a value off the model and
View
2  fx/Sharpen/Core/Bindings/ContentBinder.cs
@@ -6,7 +6,7 @@
using System;
using System.Html;
-namespace Sharpen.Html.Bindings {
+namespace Sharpen.Bindings {
/// <summary>
/// Binds the content (textContent/innerHTML) of element to an expression.
View
2  fx/Sharpen/Core/Bindings/EventBinder.cs
@@ -6,7 +6,7 @@
using System;
using System.Html;
-namespace Sharpen.Html.Bindings {
+namespace Sharpen.Bindings {
/// <summary>
/// Binds an event of an element to the value of an expression.
View
2  fx/Sharpen/Core/Bindings/PropertyBinder.cs
@@ -6,7 +6,7 @@
using System;
using System.Html;
-namespace Sharpen.Html.Bindings {
+namespace Sharpen.Bindings {
/// <summary>
/// This binds the property of an object to the value of an expression, and
View
2  fx/Sharpen/Core/Bindings/ValueBinder.cs
@@ -6,7 +6,7 @@
using System;
using System.Html;
-namespace Sharpen.Html.Bindings {
+namespace Sharpen.Bindings {
/// <summary>
/// Binds the value property of an input element to an expression.
View
2  fx/Sharpen/Core/Bindings/VisibilityBinder.cs
@@ -7,7 +7,7 @@
using System.Diagnostics;
using System.Html;
-namespace Sharpen.Html.Bindings {
+namespace Sharpen.Bindings {
/// <summary>
/// Binds the visibility of an element to an expression.
View
2  fx/Sharpen/Core/Core.csproj
@@ -66,7 +66,7 @@
<Compile Include="Bindings\PropertyBinder.cs" />
<Compile Include="Bindings\ValueBinder.cs" />
<Compile Include="Bindings\VisibilityBinder.cs" />
- <Compile Include="Utility\OptionsParser.cs" />
+ <Compile Include="OptionsParser.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="Script.Web">
View
2  fx/Sharpen/Core/Expression.cs
@@ -5,7 +5,7 @@
using System;
-namespace Sharpen.Html {
+namespace Sharpen {
/// <summary>
/// Represents the base class for all expressions. Expressions represent
View
2  fx/Sharpen/Core/ExpressionFactory.cs
@@ -5,7 +5,7 @@
using System;
-namespace Sharpen.Html {
+namespace Sharpen {
/// <summary>
/// Creates an expression given a model object and a string representation of the
View
2  fx/Sharpen/Core/Utility/OptionsParser.cs → fx/Sharpen/Core/OptionsParser.cs
@@ -10,7 +10,7 @@
using System.Html;
using System.Serialization;
-namespace Sharpen.Html.Utility {
+namespace Sharpen {
internal static class OptionsParser {
View
2  fx/Sharpen/Core/Properties/TemplateEngine.js
@@ -179,5 +179,5 @@
return new Function('_d', 'index', 'ctx', _code.join('\n'));
}
- Sharpen$Html$Application.current.registerTemplateEngine('sharpen', sharpenTemplate);
+ Sharpen$Application.current.registerTemplateEngine('sharpen', sharpenTemplate);
})();
View
2  fx/Sharpen/Core/ServiceRegistration.cs
@@ -6,7 +6,7 @@
using System;
using System.Runtime.CompilerServices;
-namespace Sharpen.Html {
+namespace Sharpen {
[ScriptImport]
[ScriptIgnoreNamespace]
View
2  fx/Sharpen/Core/Template.cs
@@ -5,7 +5,7 @@
using System;
-namespace Sharpen.Html {
+namespace Sharpen {
/// <summary>
/// Creates an instance of the markup represented by this template.
View
2  fx/Sharpen/Core/TemplateEngine.cs
@@ -7,7 +7,7 @@
using System.Collections.Generic;
using System.Html;
-namespace Sharpen.Html {
+namespace Sharpen {
/// <summary>
/// Creates an instance of a template from the specified content.
Please sign in to comment.
Something went wrong with that request. Please try again.