24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/src-min-noconflict/snippets/diff.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/diff",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\nsnippet header DEP-3 style header\n Description: ${1}\n Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n Bug: ${4:url in upstream bugtracker}\n Forwarded: ${5:no|not-needed|url}\n Author: ${6:`g:snips_author`}\n Reviewed-by: ${7:name and email}\n Last-Update: ${8:`strftime("%Y-%m-%d")`}\n Applied-Upstream: ${9:upstream version|url|commit}\n\n',t.scope="diff"})
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/snippets.snippets:
--------------------------------------------------------------------------------
1 | # Function
2 | snippet fun
3 | function ${1?:function_name}(${2:argument}) {
4 | ${3:// body...}
5 | }
6 | # Anonymous Function
7 | regex /((=)\s*|(:)\s*|(\()|\b)/f/(\))?/
8 | name f
9 | function${M1?: ${1:functionName}}($2) {
10 | ${0:$TM_SELECTED_TEXT}
11 | }${M2?;}${M3?,}${M4?)}
12 | # Immediate function
13 | trigger \(?f\(
14 | endTrigger \)?
15 | snippet f(
16 | (function(${1}) {
17 | ${0:${TM_SELECTED_TEXT:/* code */}}
18 | }(${1}));
19 | # if
20 | snippet if
21 | if (${1:true}) {
22 | ${0}
23 | }
24 |
25 |
26 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/tex.tex:
--------------------------------------------------------------------------------
1 | The quadratic formula is $$-b \pm \sqrt{b^2 - 4ac} \over 2a$$
2 | \bye
3 |
4 | \makeatletter
5 | \newcommand{\be}{%
6 | \begingroup
7 | % \setlength{\arraycolsep}{2pt}
8 | \eqnarray%
9 | \@ifstar{\nonumber}{}%
10 | }
11 | \newcommand{\ee}{\endeqnarray\endgroup}
12 | \makeatother
13 |
14 | \begin{equation}
15 | x=\left\{ \begin{array}{cl}
16 | 0 & \textrm{if }A=\ldots\\
17 | 1 & \textrm{if }B=\ldots\\
18 | x & \textrm{this runs with as much text as you like, but without an raggeright text
19 | .}\end{array}\right.
20 | \end{equation}
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/tmSnippet.tmSnippet:
--------------------------------------------------------------------------------
1 | # Function
2 | snippet fun
3 | function ${1?:function_name}(${2:argument}) {
4 | ${3:// body...}
5 | }
6 | # Anonymous Function
7 | regex /((=)\s*|(:)\s*|(\()|\b)/f/(\))?/
8 | name f
9 | function${M1?: ${1:functionName}}($2) {
10 | ${0:$TM_SELECTED_TEXT}
11 | }${M2?;}${M3?,}${M4?)}
12 | # Immediate function
13 | trigger \(?f\(
14 | endTrigger \)?
15 | snippet f(
16 | (function(${1}) {
17 | ${0:${TM_SELECTED_TEXT:/* code */}}
18 | }(${1}));
19 | # if
20 | snippet if
21 | if (${1:true}) {
22 | ${0}
23 | }
24 |
25 |
26 |
--------------------------------------------------------------------------------
/templates/tabs.jade:
--------------------------------------------------------------------------------
1 | ion-tabs.tabs-icon-only.tabs-positive
2 | // Dashboard Tab
3 | ion-tab(title='Home', icon='icon ion-home', href='#/tab/dash')
4 | ion-nav-view(name='tab-dash')
5 |
6 | // Products Tab
7 | ion-tab(title='Shop', icon='icon ion-pricetags', href='#/tab/products')
8 | ion-nav-view(name='tab-products')
9 |
10 | // Search Tab
11 | ion-tab(title='Search', icon='icon ion-search', href='#/tab/search')
12 | ion-nav-view(name='tab-search')
13 |
14 | // Account Tab
15 | ion-tab(title='Account', icon='icon ion-gear-b', href='#/tab/account')
16 | ion-nav-view(name='tab-account')
17 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/python.py:
--------------------------------------------------------------------------------
1 | #!/usr/local/bin/python
2 |
3 | import string, sys
4 |
5 | # If no arguments were given, print a helpful message
6 | if len(sys.argv)==1:
7 | print '''Usage:
8 | celsius temp1 temp2 ...'''
9 | sys.exit(0)
10 |
11 | # Loop over the arguments
12 | for i in sys.argv[1:]:
13 | try:
14 | fahrenheit=float(string.atoi(i))
15 | except string.atoi_error:
16 | print repr(i), "not a numeric value"
17 | else:
18 | celsius=(fahrenheit-32)*5.0/9.0
19 | print '%i\260F = %i\260C' % (int(fahrenheit), int(celsius+.5))
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/erlang.erl:
--------------------------------------------------------------------------------
1 | %% A process whose only job is to keep a counter.
2 | %% First version
3 | -module(counter).
4 | -export([start/0, codeswitch/1]).
5 |
6 | start() -> loop(0).
7 |
8 | loop(Sum) ->
9 | receive
10 | {increment, Count} ->
11 | loop(Sum+Count);
12 | {counter, Pid} ->
13 | Pid ! {counter, Sum},
14 | loop(Sum);
15 | code_switch ->
16 | ?MODULE:codeswitch(Sum)
17 | % Force the use of 'codeswitch/1' from the latest MODULE version
18 | end.
19 |
20 | codeswitch(Sum) -> loop(Sum).
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/vala.vala:
--------------------------------------------------------------------------------
1 | using Gtk;
2 |
3 | int main (string[] args) {
4 | Gtk.init (ref args);
5 | var foo = new MyFoo>();
6 |
7 | var window = new Window();
8 | window.title = "Hello, World!";
9 | window.border_width = 10;
10 | window.window_position = WindowPosition.CENTER;
11 | window.set_default_size(350, 70);
12 | window.destroy.connect(Gtk.main_quit);
13 |
14 | var label = new Label("Hello, World!");
15 |
16 | window.add(label);
17 | window.show_all();
18 |
19 | Gtk.main();
20 | return 0;
21 | }
--------------------------------------------------------------------------------
/www/lib/collide/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "collide",
3 | "version": "0.0.4",
4 | "main": "collide.js",
5 | "scripts": {
6 | "build": "mkdir -p dist && browserify src/index.js -s collide | sed 's/sourceMappingURL//g' > dist/collide.js",
7 | "test": "node_modules/.bin/jasmine-node test --color",
8 | "autotest": "node_modules/.bin/jasmine-node test --watch src --autotest --color"
9 | },
10 | "dependencies": {
11 | "raf": "^2.0.1",
12 | "feature": "^0.1.4",
13 | "performance-now": "^0.1.3"
14 | },
15 | "devDependencies": {
16 | "jasmine-node": "^1.14.5",
17 | "proxyquire": "^1.0.1"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/dart.dart:
--------------------------------------------------------------------------------
1 | // Go ahead and modify this example.
2 |
3 | import "dart:html";
4 |
5 | // Computes the nth Fibonacci number.
6 | int fibonacci(int n) {
7 | if (n < 2) return n;
8 | return fibonacci(n - 1) + fibonacci(n - 2);
9 | }
10 |
11 | // Displays a Fibonacci number.
12 | void main() {
13 | int i = 20;
14 | String message = "fibonacci($i) = ${fibonacci(i)}";
15 |
16 | // This example uses HTML to display the result and it will appear
17 | // in a nested HTML frame (an iframe).
18 | document.body.append(new HeadingElement.h1()..appendText(message));
19 | }
20 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/prolog.plg:
--------------------------------------------------------------------------------
1 | partition([], _, [], []).
2 | partition([X|Xs], Pivot, Smalls, Bigs) :-
3 | ( X @< Pivot ->
4 | Smalls = [X|Rest],
5 | partition(Xs, Pivot, Rest, Bigs)
6 | ; Bigs = [X|Rest],
7 | partition(Xs, Pivot, Smalls, Rest)
8 | ).
9 |
10 | quicksort([]) --> [].
11 | quicksort([X|Xs]) -->
12 | { partition(Xs, X, Smaller, Bigger) },
13 | quicksort(Smaller), [X], quicksort(Bigger).
14 |
15 | perfect(N) :-
16 | between(1, inf, N), U is N // 2,
17 | findall(D, (between(1,U,D), N mod D =:= 0), Ds),
18 | sumlist(Ds, N).
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/rhtml.Rhtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Title
5 |
6 |
7 |
8 |
9 |
This is an R HTML document. When you click the Knit HTML button a web page will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
10 |
11 |
14 |
15 |
You can also embed plots, for example:
16 |
17 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/css.css:
--------------------------------------------------------------------------------
1 | .text-layer {
2 | font-family: Monaco, "Courier New", monospace;
3 | font-size: 12pX;
4 | cursor: text;
5 | }
6 |
7 | .blinker {
8 | animation-duration: 1s;
9 | animation-name: blink;
10 | animation-iteration-count: infinite;
11 | animation-direction: alternate;
12 | animation-timing-function: linear;
13 | }
14 |
15 | @keyframes blink {
16 | 0% {
17 | opacity: 0;
18 | }
19 | 40% {
20 | opacity: 0;
21 | }
22 | 40.5% {
23 | opacity: 1
24 | }
25 | 100% {
26 | opacity: 1
27 | }
28 | }
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/rust.rs:
--------------------------------------------------------------------------------
1 | use core::rand::RngUtil;
2 |
3 | fn main() {
4 | for ["Alice", "Bob", "Carol"].each |&name| {
5 | do spawn {
6 | let v = rand::Rng().shuffle([1, 2, 3]);
7 | for v.each |&num| {
8 | print(fmt!("%s says: '%d'\n", name, num + 1))
9 | }
10 | }
11 | }
12 | }
13 |
14 | fn map(vector: &[T], function: &fn(v: &T) -> U) -> ~[U] {
15 | let mut accumulator = ~[];
16 | for vec::each(vector) |element| {
17 | accumulator.push(function(element));
18 | }
19 | return accumulator;
20 | }
21 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/assembly_x86.asm:
--------------------------------------------------------------------------------
1 | section .text
2 | global main ;must be declared for using gcc
3 |
4 | main: ;tell linker entry point
5 |
6 | mov edx, len ;message length
7 | mov ecx, msg ;message to write
8 | mov ebx, 1 ;file descriptor (stdout)
9 | mov eax, 4 ;system call number (sys_write)
10 | int 0x80 ;call kernel
11 |
12 | mov eax, 1 ;system call number (sys_exit)
13 | int 0x80 ;call kernel
14 |
15 | section .data
16 |
17 | msg db 'Hello, world!',0xa ;our dear string
18 | len equ $ - msg ;length of our dear string
19 |
--------------------------------------------------------------------------------
/www/lib/ionic/scss/_split-pane.scss:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Split Pane
4 | * --------------------------------------------------
5 | */
6 |
7 | .split-pane {
8 | @include display-flex();
9 | @include align-items(stretch);
10 | width: 100%;
11 | height: 100%;
12 | }
13 |
14 | .split-pane-menu {
15 | @include flex(0, 0, $split-pane-menu-width);
16 |
17 | overflow-y: auto;
18 | width: $split-pane-menu-width;
19 | height: 100%;
20 | border-right: 1px solid $split-pane-menu-border-color;
21 |
22 | @media all and (max-width: 568px) {
23 | border-right: none;
24 | }
25 | }
26 |
27 | .split-pane-content {
28 | @include flex(1, 0, auto);
29 | }
30 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/glsl.glsl:
--------------------------------------------------------------------------------
1 | uniform float amplitude;
2 | attribute float displacement;
3 | varying vec3 vNormal;
4 |
5 | void main() {
6 |
7 | vNormal = normal;
8 |
9 | // multiply our displacement by the
10 | // amplitude. The amp will get animated
11 | // so we'll have animated displacement
12 | vec3 newPosition = position +
13 | normal *
14 | vec3(displacement *
15 | amplitude);
16 |
17 | gl_Position = projectionMatrix *
18 | modelViewMatrix *
19 | vec4(newPosition,1.0);
20 | }
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/haskell.hs:
--------------------------------------------------------------------------------
1 | -- Type annotation (optional)
2 | fib :: Int -> Integer
3 |
4 | -- With self-referencing data
5 | fib n = fibs !! n
6 | where fibs = 0 : scanl (+) 1 fibs
7 | -- 0,1,1,2,3,5,...
8 |
9 | -- Same, coded directly
10 | fib n = fibs !! n
11 | where fibs = 0 : 1 : next fibs
12 | next (a : t@(b:_)) = (a+b) : next t
13 |
14 | -- Similar idea, using zipWith
15 | fib n = fibs !! n
16 | where fibs = 0 : 1 : zipWith (+) fibs (tail fibs)
17 |
18 | -- Using a generator function
19 | fib n = fibs (0,1) !! n
20 | where fibs (a,b) = a : fibs (b,a+b)
--------------------------------------------------------------------------------
/www/lib/angular/angular-csp.css:
--------------------------------------------------------------------------------
1 | /* Include this file in your html if you are using the CSP mode. */
2 |
3 | @charset "UTF-8";
4 |
5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
6 | .ng-cloak, .x-ng-cloak,
7 | .ng-hide {
8 | display: none !important;
9 | }
10 |
11 | ng\:form {
12 | display: block;
13 | }
14 |
15 | .ng-animate-block-transitions {
16 | transition:0s all!important;
17 | -webkit-transition:0s all!important;
18 | }
19 |
20 | /* show the element during a show/hide animation when the
21 | * animation is ongoing, but the .ng-hide class is active */
22 | .ng-hide-add-active, .ng-hide-remove {
23 | display: block!important;
24 | }
25 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/ocaml.ml:
--------------------------------------------------------------------------------
1 | (*
2 | * Example of early return implementation taken from
3 | * http://ocaml.janestreet.com/?q=node/91
4 | *)
5 |
6 | let with_return (type t) (f : _ -> t) =
7 | let module M =
8 | struct exception Return of t end
9 | in
10 | let return = { return = (fun x -> raise (M.Return x)); } in
11 | try f return with M.Return x -> x
12 |
13 |
14 | (* Function that uses the 'early return' functionality provided by `with_return` *)
15 | let sum_until_first_negative list =
16 | with_return (fun r ->
17 | List.fold list ~init:0 ~f:(fun acc x ->
18 | if x >= 0 then acc + x else r.return acc))
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ionic/scss/_split-pane.scss:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Split Pane
4 | * --------------------------------------------------
5 | */
6 |
7 | .split-pane {
8 | @include display-flex();
9 | @include align-items(stretch);
10 | width: 100%;
11 | height: 100%;
12 | }
13 |
14 | .split-pane-menu {
15 | @include flex(0, 0, $split-pane-menu-width);
16 |
17 | overflow-y: auto;
18 | width: $split-pane-menu-width;
19 | height: 100%;
20 | border-right: 1px solid $split-pane-menu-border-color;
21 |
22 | @media all and (max-width: 568px) {
23 | border-right: none;
24 | }
25 | }
26 |
27 | .split-pane-content {
28 | @include flex(1, 0, auto);
29 | }
30 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/show_own_source.js:
--------------------------------------------------------------------------------
1 | if (typeof ace == "undefined" && typeof require == "undefined") {
2 | document.body.innerHTML = "
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/lib/ace-builds/demo/kitchen-sink/docs/properties.properties:
--------------------------------------------------------------------------------
1 | # You are reading the ".properties" entry.
2 | ! The exclamation mark can also mark text as comments.
3 | # The key and element characters #, !, =, and : are written with a preceding backslash to ensure that they are properly loaded.
4 | website = http\://en.wikipedia.org/
5 | language = English
6 | # The backslash below tells the application to continue reading
7 | # the value onto the next line.
8 | message = Welcome to \
9 | Wikipedia!
10 | # Add spaces to the key
11 | key\ with\ spaces = This is the value that could be looked up with the key "key with spaces".
12 | # Unicode
13 | tab : \u0009
14 | empty-key=
15 | last.line=value
16 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/demo/www/app/globalization/globalization.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
{{title}}
6 |