file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
playgrounds/preact-js/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Preact</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/s... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-js/src/app.css | CSS | #app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.preact:hover {
filter: drop-shadow(0 0 2em #673ab8aa);
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
}
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-js/src/app.jsx | JavaScript (JSX) | import { useState } from "preact/hooks";
import viteLogo from "/vite.svg";
import preactLogo from "./assets/preact.svg";
import "./app.css";
export function App() {
const [count, setCount] = useState(0);
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20p... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-js/src/index.css | CSS | :root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialias... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-js/src/main.jsx | JavaScript (JSX) | import { render } from 'preact'
import { App } from './app'
import './index.css'
render(<App />, document.getElementById('app'))
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-js/vite.config.js | JavaScript | import { defineConfig } from 'vite'
import preact from '@preact/preset-vite'
import removeConsole from 'vite-plugin-remove-console'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [preact(), removeConsole()],
build: { sourcemap: true }
})
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-ts/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Preact + TS</title>
</head>
<body>
<div id="app"></div>
<script type="module" sr... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-ts/src/app.css | CSS | #app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.preact:hover {
filter: drop-shadow(0 0 2em #673ab8aa);
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
}
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-ts/src/app.tsx | TypeScript (TSX) | import { useState } from "preact/hooks";
import viteLogo from "/vite.svg";
import preactLogo from "./assets/preact.svg";
import "./app.css";
export function App() {
const [count, setCount] = useState(0);
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20p... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-ts/src/index.css | CSS | :root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialias... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-ts/src/main.tsx | TypeScript (TSX) | import { render } from 'preact'
import { App } from './app'
import './index.css'
render(<App />, document.getElementById('app') as HTMLElement)
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-ts/src/preact.d.ts | TypeScript | import JSX = preact.JSX
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-ts/src/vite-env.d.ts | TypeScript | /// <reference types="vite/client" />
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/preact-ts/vite.config.ts | TypeScript | import { defineConfig } from "vite";
import preact from "@preact/preset-vite";
import removeConsole from "vite-plugin-remove-console";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [preact(), removeConsole()],
build: { sourcemap: true }
});
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-js/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/s... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-js/src/App.css | CSS | #root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}
@keyframes logo-spin {
from {
transf... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-js/src/App.jsx | JavaScript (JSX) | import { useState } from "react";
import viteLogo from "/vite.svg";
import reactLogo from "./assets/react.svg";
import "./App.css";
function App() {
const [count, setCount] = useState(0);
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20px;",
"Consol... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-js/src/index.css | CSS | :root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialias... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-js/src/main.jsx | JavaScript (JSX) | import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'
ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<App />
</React.StrictMode>
)
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-js/vite.config.js | JavaScript | import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import removeConsole from 'vite-plugin-remove-console'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), removeConsole()],
build: { sourcemap: true }
})
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-ts/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" sr... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-ts/src/App.css | CSS | #root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}
@keyframes logo-spin {
from {
transf... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-ts/src/App.tsx | TypeScript (TSX) | import { useState } from "react";
import viteLogo from "/vite.svg";
import reactLogo from "./assets/react.svg";
import "./App.css";
function App() {
const [count, setCount] = useState(0);
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20px;",
"Consol... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-ts/src/index.css | CSS | :root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialias... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-ts/src/main.tsx | TypeScript (TSX) | import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
<App />
</React.StrictMode>
)
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-ts/src/vite-env.d.ts | TypeScript | /// <reference types="vite/client" />
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/react-ts/vite.config.ts | TypeScript | import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import removeConsole from "vite-plugin-remove-console";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), removeConsole()],
build: { sourcemap: true }
});
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-js/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="shortcut icon" type="image/ico" href="/src/assets/favicon.ico" />
<title>Solid App</title>
</head>
<b... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-js/src/App.jsx | JavaScript (JSX) | import logo from "./logo.svg";
import styles from "./App.module.css";
function App() {
function click() {
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20px;",
"Console Log Test"
);
}
return (
<div class={styles.App}>
<hea... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-js/src/App.module.css | CSS | .App {
text-align: center;
}
.logo {
animation: logo-spin infinite 20s linear;
height: 40vmin;
pointer-events: none;
}
.header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
col... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-js/src/index.css | CSS | body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Mona... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-js/src/index.jsx | JavaScript (JSX) | /* @refresh reload */
import { render } from 'solid-js/web';
import './index.css';
import App from './App';
render(() => <App />, document.getElementById('root'));
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-js/vite.config.js | JavaScript | import { defineConfig } from 'vite'
import solidPlugin from 'vite-plugin-solid'
import removeConsole from 'vite-plugin-remove-console'
export default defineConfig({
plugins: [solidPlugin(), removeConsole()],
server: {
port: 3000,
},
build: {
target: 'esnext',
sourcemap: true
},
})
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-ts/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="shortcut icon" type="image/ico" href="/src/assets/favicon.ico" />
<title>Solid App</title>
</head>
<b... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-ts/src/App.module.css | CSS | .App {
text-align: center;
}
.logo {
animation: logo-spin infinite 20s linear;
height: 40vmin;
pointer-events: none;
}
.header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
col... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-ts/src/App.tsx | TypeScript (TSX) | import type { Component } from "solid-js";
import logo from "./logo.svg";
import styles from "./App.module.css";
const App: Component = () => {
function click() {
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20px;",
"Console Log Test"
... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-ts/src/index.css | CSS | body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Mona... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-ts/src/index.tsx | TypeScript (TSX) | /* @refresh reload */
import { render } from 'solid-js/web';
import './index.css';
import App from './App';
render(() => <App />, document.getElementById('root') as HTMLElement);
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/solid-ts/vite.config.ts | TypeScript | import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
import removeConsole from "vite-plugin-remove-console";
export default defineConfig({
plugins: [solidPlugin(), removeConsole()],
server: {
port: 3000
},
build: {
target: "esnext",
sourcemap: true
}
});
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-js/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Svelte</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/s... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-js/src/App.svelte | Svelte | <script>
import viteLogo from '/vite.svg'
import svelteLogo from './assets/svelte.svg'
import Counter from './lib/Counter.svelte'
</script>
<main>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src={viteLogo} class="logo" alt="Vite Logo" />
</a>
<a href="https://svelte.dev" target=... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-js/src/app.css | CSS | :root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialias... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-js/src/lib/Counter.svelte | Svelte | <script>
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20px;",
"Console Log Test"
);
let count = 0
const increment = () => {
count += 1
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; f... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-js/src/main.js | JavaScript | import './app.css'
import App from './App.svelte'
const app = new App({
target: document.getElementById('app')
})
export default app
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-js/src/vite-env.d.ts | TypeScript | /// <reference types="svelte" />
/// <reference types="vite/client" />
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-js/vite.config.js | JavaScript | import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import removeConsole from 'vite-plugin-remove-console'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte(), removeConsole()],
build: { sourcemap: true }
})
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-ts/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Svelte + TS</title>
</head>
<body>
<div id="app"></div>
<script type="module" sr... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-ts/src/App.svelte | Svelte | <script lang="ts">
import viteLogo from '/vite.svg'
import svelteLogo from './assets/svelte.svg'
import Counter from './lib/Counter.svelte'
</script>
<main>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src={viteLogo} class="logo" alt="Vite Logo" />
</a>
<a href="https://svelte.de... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-ts/src/app.css | CSS | :root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialias... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-ts/src/lib/Counter.svelte | Svelte | <script lang="ts">
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20px;",
"Console Log Test"
);
let count = 0
const increment = () => {
count += 1
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aqu... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-ts/src/main.ts | TypeScript | import './app.css'
import App from './App.svelte'
const app = new App({
target: document.getElementById('app')
})
export default app
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-ts/src/vite-env.d.ts | TypeScript | /// <reference types="svelte" />
/// <reference types="vite/client" />
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-ts/svelte.config.js | JavaScript | import sveltePreprocess from 'svelte-preprocess'
export default {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: sveltePreprocess()
}
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/svelte-ts/vite.config.ts | TypeScript | import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import removeConsole from "vite-plugin-remove-console";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte(), removeConsole()],
build: { sourcemap: true }
});
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-js/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-js/src/App.vue | Vue | <script setup>
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
import HelloWorld from './components/HelloWorld.vue'
</script>
<template>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src="/vite.svg" class="logo" al... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-js/src/components/HelloWorld.vue | Vue | <script setup>
import { ref } from "vue"
defineProps({
msg: String
})
const count = ref(0)
function onClick() {
count.value++
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20px;",
"Console Log Test"
)
}
console.log(
"%cConsole Log Test===>>>... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-js/src/main.js | JavaScript | import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
createApp(App).mount('#app')
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-js/src/style.css | CSS | :root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialias... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-js/vite.config.js | JavaScript | import { defineConfig } from "vite"
import vue from "@vitejs/plugin-vue"
import removeConsole from "vite-plugin-remove-console"
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
removeConsole()
],
build: { sourcemap: true }
})
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-ts/index.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue + TS</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-ts/src/App.vue | Vue | <script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
import HelloWorld from './components/HelloWorld.vue'
</script>
<template>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src="/vite.svg" class... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-ts/src/components/HelloWorld.vue | Vue | <script setup lang="ts">
import { ref } from "vue"
defineProps<{ msg: string }>()
const count = ref(0)
function onClick() {
debugger
count.value++
console.log(
"%cConsole Log Test===>>>: ",
"color: MidnightBlue; background: Aquamarine; font-size: 20px;",
"Console Log Test"
)
}
console.log(
"%c... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-ts/src/env.d.ts | TypeScript | /// <reference types="vite/client" />
declare module '*.vue' {
import type { DefineComponent } from 'vue'
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
const component: DefineComponent<{}, {}, any>
export default component
}
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-ts/src/main.ts | TypeScript | import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
createApp(App).mount('#app')
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-ts/src/style.css | CSS | :root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialias... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
playgrounds/vue-ts/vite.config.ts | TypeScript | import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import removeConsole from "vite-plugin-remove-console";
// import removeConsole from "../../dist/index.mjs";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
removeConsole({
includes: ["log", "warn",... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
src/index.ts | TypeScript | import { Options } from "./types";
import type { PluginOption } from "vite";
import { transforms, getAbsolutePath } from "./utils";
/** https://github.com/xiaoxian521/vite-plugin-remove-console#-configurable */
export default function removeConsole(
options: Partial<Options> = {}
): PluginOption {
const { external... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
src/types.ts | TypeScript | export interface Options {
/** The types of console that needs to be removed, such as `log`、`warn`、`error`、`info`, default `log` */
includes?: string[] | undefined;
/** Don't remove the types of console these modules */
external?: string[] | undefined;
/** Don't remove the log that contains this value */
ex... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
src/utils.ts | TypeScript | import { resolve } from "path";
// @ts-expect-error
import $T from "./transform";
/**
* @description Find console types from ast syntax tree and remove
* @param source SourceMap
* @returns source after remove console types
*/
export function transforms(
source: string,
includes: string[] | undefined,
externa... | xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
tsup.config.ts | TypeScript | import { defineConfig } from "tsup";
const config = {
outDir: "dist",
clean: true,
minify: true,
sourcemap: false
};
export default defineConfig([
{
entry: ["src/index.ts"],
dts: true,
treeshake: true,
format: ["esm", "cjs"],
...config
}
]);
| xiaoxian521/vite-plugin-remove-console | 187 | Vite plugin that remove all the specified console types in the production environment | TypeScript | xiaoxian521 | xiaoming | pure-admin |
android/app/build.gradle | Gradle | apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.rn_cnnode"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
android/app/src/main/java/com/rn_cnnode/MainActivity.java | Java | package com.rn_cnnode;
import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import com.facebook.react.LifecycleState;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactRootView;
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
import co... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
android/build.gradle | Gradle | // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
// NOTE: Do not place your application dependencies here; they belong
... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
android/settings.gradle | Gradle | rootProject.name = 'RN_CNNode'
include ':app'
| xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
commonComponents/Colors.js | JavaScript | const colors = {
lineGray: '#F0F0F0',
green: '#80BD01',
backGray: '#E5E5E5',
textGray: '#9A9A9A',
textBlack: '#333333',
purple: '#9966CC',
red: '#f61d4b',
backWhite: '#F2F2F2',
textGold: '#BC7233',
}
module.exports = colors;
| xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
commonComponents/CommonStyles.js | JavaScript | const React = require('react-native');
const Colors = require('./Colors');
const KengHeight = require('./KengComponentHeight');
const {
StyleSheet,
} = React;
const commonStyles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
floorTopName: {
heig... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
commonComponents/KengComponentHeight.js | JavaScript | var WindowSize = require('react-native').NativeModules.UIManager.Dimensions.window;
const KengComponentHeight = {
floorBrandContainerHeight: WindowSize.width * 0.4 + 40,
floorTopNameHeight: 35,
floorBottomDetailHeight: 35,
floorBottomLineHeight: 5,
floorMidImageHeight: WindowSize.width * 0.4,
floorDoubleIt... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
config.js | JavaScript | var config = {
"apiHost": "https://cnodejs.org/api/v1/",
"topicPath": "https://cnodejs.org/topic/",
"loadMaxPages": 5,
"loadPerPage": 15,
"urlScheme": 'https:',
}
module.exports = config
| xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
index.android.js | JavaScript | /**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
View,
} = React;
var RN_CNNode = React.createClass({
render: function() {
return (
<View style={styles.container}>
<Text st... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
index.ios.js | JavaScript | const React = require('react-native');
const Routes = require('./iosComponents/Routes');
const {
AppRegistry,
StyleSheet,
TabBarIOS,
Text,
View,
NavigatorIOS,
} = React;
const base64Icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAQAAACSR7JhAAADtUlEQVR4Ac3YA2Bj6QLH0XPT1Fzbtm29tW3btm3bfLZtv7... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/DXCategoryMenuManager.h | C/C++ Header | //
// DXNavMenuManager.h
// RN_CNNode
//
// Created by xiekw on 15/10/26.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import "RCTViewManager.h"
#import "DXTextCategoryMenu.h"
@interface DXCategoryMenuManager : RCTViewManager<DXTextCategoryMenuDelegate>
@end
| xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/DXCategoryMenuManager.m | Objective-C | //
// DXNavMenuManager.m
// RN_CNNode
//
// Created by xiekw on 15/10/26.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import "DXCategoryMenuManager.h"
#import "RCTUtils.h"
#import "RCTEventDispatcher.h"
#import "UIView+React.h"
#import "RCTBridge.h"
#import "RCTSparseArray.h"
#import "RCTUIManager.h"
... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/DXPopover.h | C/C++ Header | //
// DXPopover.h
//
// Created by xiekw on 11/14/14.
// Copyright (c) 2014 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, DXPopoverPosition) {
DXPopoverPositionUp = 1,
DXPopoverPositionDown,
};
typedef NS_ENUM(NSUInteger, DXPopoverMaskType) {
DXPopoverMaskTypeBlack... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/DXPopover.m | Objective-C | //
// DXPopover.m
//
// Created by xiekw on 11/14/14.
// Copyright (c) 2014 xiekw. All rights reserved.
//
#import "DXPopover.h"
#define DEGREES_TO_RADIANS(degrees) ((3.14159265359 * degrees) / 180)
@interface DXPopover ()
@property (nonatomic, strong, readwrite) UIControl *blackOverlay;
@property (nonatomic, we... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/DXRefreshControl.h | C/C++ Header | //
// DXRefreshControl.h
// RN_CNNode
//
// Created by xiekw on 15/10/20.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RCTBridgeModule.h"
@interface DXRefreshControl : NSObject<RCTBridgeModule>
@end
| xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/DXRefreshControl.m | Objective-C | //
// DXRefreshControl.m
// RN_CNNode
//
// Created by xiekw on 15/10/20.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import "DXRefreshControl.h"
#import "RCTBridge.h"
#import "RCTConvert.h"
#import "RCTScrollView.h"
#import "RCTSparseArray.h"
#import "RCTUIManager.h"
#import "RCTEventDispatcher.h"
#im... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/DXTopMessageManager.h | C/C++ Header | //
// DXTopMessageManager.h
// RN_CNNode
//
// Created by xiekw on 15/10/21.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RCTBridgeModule.h"
@interface DXTopMessageManager : NSObject<RCTBridgeModule>
@end
| xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/DXTopMessageManager.m | Objective-C | //
// DXTopMessageManager.m
// RN_CNNode
//
// Created by xiekw on 15/10/21.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import "DXTopMessageManager.h"
#import "RCTBridge.h"
#import "RCTConvert.h"
#import "RCTScrollView.h"
#import "RCTSparseArray.h"
#import "RCTUIManager.h"
#import "RCTEventDispatcher.... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/NavigationCategory/DXTextCategoryMenu.h | C/C++ Header | //
// DXTextCategoryMenu.h
// RN_CNNode
//
// Created by xiekw on 15/10/23.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import <UIKit/UIKit.h>
@class DXTextCategoryMenu;
@protocol DXTextCategoryMenuDelegate <NSObject>
@optional
- (void)textCategoryMenu:(DXTextCategoryMenu *)menu willSelectedMenuFrom... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/NavigationCategory/DXTextCategoryMenu.m | Objective-C | //
// DXTextCategoryMenu.m
// RN_CNNode
//
// Created by xiekw on 15/10/23.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import "DXTextCategoryMenu.h"
#import "UIView+SNEdge.h"
#import "RCTConvert.h"
@interface _TextButton : UIButton
+ (instancetype)textButtonWithString:(NSString *)text selectedColor:... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/PopoverManager.h | C/C++ Header | //
// PopoverManager.h
// RN_CNNode
//
// Created by xiekw on 15/10/20.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RCTBridgeModule.h"
@interface PopoverManager : NSObject<RCTBridgeModule>
@end
| xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/PopoverManager.m | Objective-C | //
// PopoverManager.m
// RN_CNNode
//
// Created by xiekw on 15/10/20.
// Copyright © 2015年 Facebook. All rights reserved.
//
#import "PopoverManager.h"
#import "DXPopover.h"
@implementation PopoverManager
RCT_EXPORT_MODULE();
RCT_EXPORT_METHOD(showAtView:(NSNumber *)atView withText:(NSString *)text) {
NSLog... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/PullToRefresh/JHSCartoonPullToRefreshView.h | C/C++ Header | //
// JHSCartoonPullToRefreshView.h
// JU
//
// Created by lamo on 14/12/23.
// Copyright (c) 2014年 ju.taobao.com. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "JHSPullToRefreshProtocols.h"
@class JHSMagicLampPullToRefreshView;
@interface JHSCartoonPullToRefreshView : UIView<JHSPullToRefreshViewObject... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/PullToRefresh/JHSCartoonPullToRefreshView.m | Objective-C | //
// JHSCartoonPullToRefreshView.m
// JU
//
// Created by lamo on 14/12/23.
// Copyright (c) 2014年 ju.taobao.com. All rights reserved.
//
#import "JHSCartoonPullToRefreshView.h"
#import "JHSMagicLampPullToRefreshView.h"
@implementation JHSCartoonPullToRefreshView
@dynamic ready;
@dynamic loading;
@dynamic minDra... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/PullToRefresh/JHSMagicLampPullToRefreshView.h | C/C++ Header | //
// JHSMagicLampPullToRefreshView.h
// JU
//
// Created by lamo on 14/12/23.
// Copyright (c) 2014年 ju.taobao.com. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "JHSPullToRefreshProtocols.h"
@interface JHSMagicLampPullToRefreshView : UIView<JHSPullToRefreshViewObject> {
UIImageView *_lampView;
... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/PullToRefresh/JHSMagicLampPullToRefreshView.m | Objective-C | //
// JHSMagicLampPullToRefreshView.m
// JU
//
// Created by lamo on 14/12/23.
// Copyright (c) 2014年 ju.taobao.com. All rights reserved.
//
#import "JHSMagicLampPullToRefreshView.h"
#import "UIView+SNEdge.h"
#import "POP.h"
@implementation JHSMagicLampPullToRefreshView
- (instancetype)initWithFrame:(CGRect)fram... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/PullToRefresh/JHSPullToRefreshControl.h | C/C++ Header | //
// JHSPullToRefreshView.h
// PTR
//
// Created by lamo on 14/12/18.
// Copyright (c) 2014年 juhuasuan. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "JHSPullToRefreshProtocols.h"
@interface JHSPullToRefreshControl : UIControl<JHSPullToRefreshPresenter> {
BOOL _dragging, _layoutManually;
UIView... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/PullToRefresh/JHSPullToRefreshControl.m | Objective-C | //
// JHSPullToRefreshView.m
// PTR
//
// Created by lamo on 14/12/18.
// Copyright (c) 2014年 juhuasuan. All rights reserved.
//
#import "JHSPullToRefreshControl.h"
#import "JHSMagicLampPullToRefreshView.h"
#define KEY_PATH_CONTENT_OFFSET @"contentOffset"
/// OC类型的类型转换,_c_是要转换的类名,不可以为空
#define JHSObjectConvert(_... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
ios/Classes/PullToRefresh/JHSPullToRefreshProtocols.h | C/C++ Header | //
// JHSPullToRefreshProtocols.h
// JU
//
// Created by lamo on 14/12/23.
// Copyright (c) 2014年 ju.taobao.com. All rights reserved.
//
#ifndef JU_JHSPullToRefreshProtocols_h
#define JU_JHSPullToRefreshProtocols_h
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, JHSPullToRefreshPosition) {
kJHSPullToRefre... | xiekw2010/Cnodejs-React-Native | 0 | Yet another client for https://cnodejs.org/ building on react-native | Objective-C | xiekw2010 | David Tse | Alipay |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.