From 5c6d6c00b6ec1c0767fa1599aad2fa7148eb4a31 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 20 Jun 2011 20:57:24 +0100 Subject: [PATCH] make jquery work --- SparkleShare/Mac/SparkleMacController.cs | 5 ++++- SparkleShare/Mac/SparkleShare.csproj | 5 ++++- data/html/event-entry.html | 19 ++++++++----------- data/html/event-log.html | 9 +++++++++ 4 files changed, 25 insertions(+), 13 deletions(-) diff --git a/SparkleShare/Mac/SparkleMacController.cs b/SparkleShare/Mac/SparkleMacController.cs index c526174b..7b68a116 100644 --- a/SparkleShare/Mac/SparkleMacController.cs +++ b/SparkleShare/Mac/SparkleMacController.cs @@ -138,7 +138,10 @@ namespace SparkleShare { StreamReader reader = new StreamReader (html_path); string html = reader.ReadToEnd (); reader.Close (); - + + html = html.Replace ("", "file://" + + Path.Combine (NSBundle.MainBundle.ResourcePath, "HTML", "jquery.js")); + Console.WriteLine (html); return html; } } diff --git a/SparkleShare/Mac/SparkleShare.csproj b/SparkleShare/Mac/SparkleShare.csproj index 08c5bec8..8041e08f 100644 --- a/SparkleShare/Mac/SparkleShare.csproj +++ b/SparkleShare/Mac/SparkleShare.csproj @@ -62,7 +62,7 @@ False ..\..\bin\Meebey.SmartIrc4net.dll - + False ..\..\bin\SparkleLib.dll @@ -170,6 +170,9 @@ Pixmaps\document-moved-12.png + + HTML\jquery.js + diff --git a/data/html/event-entry.html b/data/html/event-entry.html index 4cd10ea2..b1f454bd 100644 --- a/data/html/event-entry.html +++ b/data/html/event-entry.html @@ -15,18 +15,15 @@
- - - - - - +
Hylke Bons
-2 days ago
this looks awesome!
Garrett LeSage
-yesterday
i am batman
Jakub Steiner
-yesterday -
you need to align to the pixel grid. select Grid from the View menu. then enable box snapping -
+ + + + + + +
Hylke Bonsthis looks awesome!
date
Hylke Bonsthis looks awesome!
date