Skip to content

Commit

Permalink
Deploying to gh-pages from @ 8610465 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ealmloff committed Oct 4, 2023
1 parent f299453 commit d84a170
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 51 deletions.
38 changes: 19 additions & 19 deletions assets/dioxus/docsite.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function logError(f, args) {
function __wbg_adapter_48(arg0, arg1) {
_assertNum(arg0);
_assertNum(arg1);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb24d818a2e65a0c3(arg0, arg1);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h67aae8f6eec8f17a(arg0, arg1);
}

let stack_pointer = 128;
Expand All @@ -280,7 +280,7 @@ function __wbg_adapter_51(arg0, arg1, arg2) {
try {
_assertNum(arg0);
_assertNum(arg1);
wasm._dyn_core__ops__function__FnMut___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he90adf2f78a3eca3(arg0, arg1, addBorrowedObject(arg2));
wasm._dyn_core__ops__function__FnMut___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd6339e3ea86b22a1(arg0, arg1, addBorrowedObject(arg2));
} finally {
heap[stack_pointer++] = undefined;
}
Expand Down Expand Up @@ -310,7 +310,7 @@ function makeClosure(arg0, arg1, dtor, f) {
function __wbg_adapter_54(arg0, arg1, arg2) {
_assertNum(arg0);
_assertNum(arg1);
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hac842e0319ca3674(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h54c58c682ac69b02(arg0, arg1, addHeapObject(arg2));
}

function __wbg_adapter_57(arg0, arg1) {
Expand Down Expand Up @@ -551,15 +551,10 @@ imports.wbg.__wbg_setstars_0ba69a7b1e51f35a = function() { return logError(funct
if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1); }
set_stars(v0, arg2 >>> 0);
}, arguments) };
imports.wbg.__wbg_fetch_381efb5e862610fa = function() { return logError(function (arg0) {
imports.wbg.__wbg_fetch_b5d6bebed1e6c2d2 = function() { return logError(function (arg0) {
const ret = fetch(getObject(arg0));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_is_string = function(arg0) {
const ret = typeof(getObject(arg0)) === 'string';
_assertBoolean(ret);
return ret;
};
imports.wbg.__wbindgen_number_new = function(arg0) {
const ret = arg0;
return addHeapObject(ret);
Expand All @@ -582,6 +577,11 @@ imports.wbg.__wbindgen_cb_drop = function(arg0) {
_assertBoolean(ret);
return ret;
};
imports.wbg.__wbindgen_is_string = function(arg0) {
const ret = typeof(getObject(arg0)) === 'string';
_assertBoolean(ret);
return ret;
};
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
const ret = getObject(arg0) == getObject(arg1);
_assertBoolean(ret);
Expand Down Expand Up @@ -1514,24 +1514,24 @@ imports.wbg.__wbindgen_closure_wrapper574 = function() { return logError(functio
const ret = makeMutClosure(arg0, arg1, 107, __wbg_adapter_51);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper5924 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 1683, __wbg_adapter_54);
imports.wbg.__wbindgen_closure_wrapper5900 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 1674, __wbg_adapter_54);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper5983 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1705, __wbg_adapter_57);
imports.wbg.__wbindgen_closure_wrapper5961 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1696, __wbg_adapter_57);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper6008 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1713, __wbg_adapter_60);
imports.wbg.__wbindgen_closure_wrapper5986 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1704, __wbg_adapter_60);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper6023 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1724, __wbg_adapter_63);
imports.wbg.__wbindgen_closure_wrapper6001 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1715, __wbg_adapter_63);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper6266 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1803, __wbg_adapter_66);
imports.wbg.__wbindgen_closure_wrapper6244 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1794, __wbg_adapter_66);
return addHeapObject(ret);
}, arguments) };
imports['./snippets/dioxus-interpreter-js-603636eeca72cf05/inline0.js'] = __wbg_star0;
Expand Down
Binary file modified assets/dioxus/docsite_bg.wasm
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -163,19 +163,7 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
function truthy(val) {
return val === "true" || val === true;
}
let s = "";let lsp,sp,sl; let c = new TextDecoder();let u32buf,u32bufp;let u8buf,u8bufp;const evt = [];
let evt_tmp1, evt_tmp2;
function get_evt() {
evt_tmp2 = u8buf[u8bufp++];
if(evt_tmp2 & 128){
evt_tmp1=s.substring(sp,sp+=u8buf[u8bufp++]);
evt[evt_tmp2&4294967167]=evt_tmp1;
return evt_tmp1;
}
else{
return evt[evt_tmp2&4294967167];
}
}const ns_cache = [];
const ns_cache = [];
let ns_cache_tmp1, ns_cache_tmp2;
function get_ns_cache() {
ns_cache_tmp2 = u8buf[u8bufp++];
Expand All @@ -187,6 +175,18 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
else{
return ns_cache[ns_cache_tmp2&4294967167];
}
}let u32buf,u32bufp;let u8buf,u8bufp;let s = "";let lsp,sp,sl; let c = new TextDecoder();const evt = [];
let evt_tmp1, evt_tmp2;
function get_evt() {
evt_tmp2 = u8buf[u8bufp++];
if(evt_tmp2 & 128){
evt_tmp1=s.substring(sp,sp+=u8buf[u8bufp++]);
evt[evt_tmp2&4294967167]=evt_tmp1;
return evt_tmp1;
}
else{
return evt[evt_tmp2&4294967167];
}
}const attr = [];
let attr_tmp1, attr_tmp2;
function get_attr() {
Expand All @@ -200,7 +200,7 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
return attr[attr_tmp2&4294967167];
}
}
let event_name,id,field,bubbles,value,ns,ptr,len;
let event_name,len,ns,field,ptr,value,id,bubbles;
export function create(r){
d=r;
}
Expand All @@ -213,7 +213,13 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
ls=m.getUint32(d+12*4,true);
}
p=ls;
if (metaflags&1){
if ((metaflags>>>3)&1){
u32buf=new Uint32Array(m.buffer,m.getUint32(d+3*4,true))
}
u32bufp=0;if ((metaflags>>>5)&1){
u8buf=new Uint8Array(m.buffer,m.getUint32(d+5*4,true))
}
u8bufp=0;if (metaflags&1){
lsp = m.getUint32(d+1*4,true);
}
if ((metaflags>>>2)&1) {
Expand All @@ -239,13 +245,7 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
s = c.decode(new DataView(m.buffer, lsp, sl));
}
}
sp=0;if ((metaflags>>>3)&1){
u32buf=new Uint32Array(m.buffer,m.getUint32(d+3*4,true))
}
u32bufp=0;if ((metaflags>>>5)&1){
u8buf=new Uint8Array(m.buffer,m.getUint32(d+5*4,true))
}
u8bufp=0;
sp=0;
for(;;){
op=m.getUint32(p,true);
p+=4;
Expand Down
4 changes: 2 additions & 2 deletions learn/0.4/getting_started/mobile/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@
<span style="color:#c0c5ce;">cargo new dioxus-mobile-test
</span><span style="color:#c0c5ce;">cd dioxus-mobile-test
</span></pre>
</div><button style="position: absolute; top: 0; right: 0; background: rgba(0, 0, 0, 0.75); color: white; border: 1px solid white; padding: 0.25em;" onclick="navigator.clipboard.writeText(this.previousElementSibling.innerText)">Copy</button></div><p>Next, we can use <code>tauri-mobile</code> to create a project for mobile:</p><div style="position: relative;"><div><pre style="background-color:#2b303b;">
<span style="color:#c0c5ce;">cargo install --git https:</span><span style="color:#65737e;">//github.com/tauri-apps/tauri-mobile
</div><button style="position: absolute; top: 0; right: 0; background: rgba(0, 0, 0, 0.75); color: white; border: 1px solid white; padding: 0.25em;" onclick="navigator.clipboard.writeText(this.previousElementSibling.innerText)">Copy</button></div><p>Next, we can use <code>cargo-mobile2</code> to create a project for mobile:</p><div style="position: relative;"><div><pre style="background-color:#2b303b;">
<span style="color:#c0c5ce;">cargo install --git https:</span><span style="color:#65737e;">//github.com/tauri-apps/cargo-mobile2
</span><span style="color:#c0c5ce;">cargo mobile init
</span></pre>
</div><button style="position: absolute; top: 0; right: 0; background: rgba(0, 0, 0, 0.75); color: white; border: 1px solid white; padding: 0.25em;" onclick="navigator.clipboard.writeText(this.previousElementSibling.innerText)">Copy</button></div><p>When you run <code>cargo mobile init</code>, you will be asked a series of questions about your project. One of those questions is what template you should use. Dioxus currently doesn&#x27;t have a template in Tauri mobile, instead you can use the <code>wry</code> template.</p><blockquote><p>You may also be asked to input your team ID for IOS. You can find your team id <a href="https://developer.apple.com/help/account/manage-your-team/locate-your-team-id/">here</a> or create a team id by creating a developer account <a href="https://developer.apple.com/help/account/get-started/about-your-developer-account">here</a></p></blockquote><p>Next, we need to modify our dependencies to include dioxus:</p><div style="position: relative;"><div><pre style="background-color:#2b303b;">
Expand Down
Loading

0 comments on commit d84a170

Please sign in to comment.