This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void Button1_Click (object sender, DirectEventArgs e) | |
{ | |
X.Msg.Notify("Hello World").Show(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class App | |
{ | |
[Ready] | |
public static void Main() | |
{ | |
Console.WriteLine("Hello Bridge.NET"); | |
Console.Log("") | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Bridge; | |
using Bridge.Html5; | |
namespace Demo | |
{ | |
public class App | |
{ | |
[Ready] | |
public static void Main() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET _=%~dp0 | |
del "%_%..\output\*.js" /Q | |
:: See beforeBuild setting at http://bridge.net/kb/global-configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Contributor License Agreement | |
The following terms are used throughout this agreement: | |
- **You** - the person or legal entity including its affiliates asked to accept this agreement. An affiliate is any entity that controls or is controlled by the legal entity, or is under common control with it. | |
- **Project** - is an umbrella term that refers to any and all Object.NET, Inc. open source projects. | |
- **Contribution** - any type of work that is submitted to a Project, including any modifications or additions to existing work. | |
- **Submitted** - conveyed to a Project via a pull request, commit, issue, or any form of electronic, written, or verbal communication with Object.NET, Inc., contributors or maintainers. | |
##1. Grant of Copyright License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Newtonsoft.Json; | |
using System.Web.Script.Services; | |
using System.Web.Services; | |
// see http://deck.net/webservice | |
namespace Deck.www | |
{ | |
/// <summary> | |
/// Summary description for DeckServices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="./bridge.d.ts" /> | |
declare module Bridge.Collections { | |
/** @namespace System.Collections.Generic */ | |
/** | |
* Internal helper functions for working with enumerables. | |
* | |
* @static | |
* @abstract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Bridge; | |
using Bridge.Html5; | |
namespace Demo | |
{ | |
public class Program | |
{ | |
public static void Main() | |
{ | |
// Simple alert() to confirm it’s working |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bridge.Class.define("Demo.App", { | |
statics: { | |
$config: { | |
init: function () { | |
Bridge.ready(this.main); | |
} | |
}, | |
main: function () { | |
// Simple alert() to confirm it's working | |
window.alert("Success"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My Demo App</title> | |
<script src=”bridge.js”></script> | |
<script src=”demo.js”></script> | |
</head> | |
<body> | |
</body> | |
</html> |
OlderNewer