Skip to content

Instantly share code, notes, and snippets.

View WolfieWerewolf's full-sized avatar

Geoffrey (Wolfie) Wolf WolfieWerewolf

View GitHub Profile
@WolfieWerewolf
WolfieWerewolf / webworker.example.js
Created February 24, 2018 23:57 — forked from akirattii/webworker.example.js
WebWorker example using importScript
Webworker
// worker.js
var ju;
addEventListener('message', function(e) {
if (e.data == "dummy") {
importScripts('./JapaneseUtil.js');
console.log("this worker on message...", e);
@WolfieWerewolf
WolfieWerewolf / gist:2f3453d25942a0ceb8ef
Created September 23, 2015 22:36
CefSharp 3 Example of two Chromium WPF "tabs" in the same View
This is a direct modification of the CefSharp.Wpf.Example. Just replace the existing Xaml with this code.
Let me know if you have any questions. [email protected].
<UserControl x:Class="CefSharp.Wpf.Example.Views.BrowserTabView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:cefSharp="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf" xmlns:local="clr-namespace:CefSharp.Wpf.Example.ViewModels"
mc:Ignorable="d"