The json-pointer draft is missing a very important piece: slices.
var obj = {
foo: [
{ bar: 1 },
{ bar: 2 },
{ bar: 3 }| // | |
| // See Slidedeck for more information | |
| // | |
| // http://www.slideshare.net/aaronksaunders/parse-appcelerator-titanium-the-easy-way-jan2013 | |
| // | |
| // Aaron K Saunders | |
| // Clearly Innovative Inc | |
| // | |
| // twitter : @aaronksaunders | |
| // blog : blog.clearlyinnovative.com |
| //Setup module to run Behave tests | |
| require('behave').andSetup(this); | |
| describe('The model helper package: login USER', function() { | |
| var ACSModels = new (require('models').MODELS)(Alloy); | |
| it.eventually('*** logs in user', function(done) { | |
| var model = ACSModels.createModel('user', { |
| /** | |
| * Handle Item Swipe | |
| * @param {Object} _event | |
| */ | |
| $.handleItemSwipe = function(_event) { | |
| var row = _event.source; | |
| var id = row.id; | |
| var controls = Alloy.createController("rowControls"); | |
| row.add(controls.wrapper); |
The json-pointer draft is missing a very important piece: slices.
var obj = {
foo: [
{ bar: 1 },
{ bar: 2 },
{ bar: 3 }| /* | |
| WildText CommonJS module for Appcelerator Titanium | |
| Create dynamic gradient filled text in your iOS Applications using this simple module. | |
| @params : text - String. The text for your label | |
| font - Font. Specify the font attributes for the label (defaults to standard size, weight and family), | |
| backgroundGradient - BackgroundGradient. Specify your backgroundGradient object (defaults to White to Black linear gradient), | |
| Top - Integer. Top property for your label, | |
| Left - Integer. Left Property for your Label, |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <title>Pagination with AngularJS - jsFiddle demo</title> | |
| <script type='text/javascript' src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
| <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.js'></script> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular-sanitize.js"></script> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular-resource.js"></script> | |
| <link rel="stylesheet" type="text/css" href="/css/result-light.css"> |
| .directive('graph', [ | |
| function() | |
| { | |
| /* Wrap the ajax graph and strip out the ajax shit. It's Angulars | |
| * job to handle that. | |
| */ | |
| var AngularRickshaw = Rickshaw.Class.create(Rickshaw.Graph.Ajax, { | |
| initialize: function($super, args) | |
| { | |
| this.request = function() {}; |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Linq.Expressions; | |
| using MonoTouch.UIKit; | |
| namespace Async.iOS | |
| { | |
| public static class Layout | |
| { |
| import precog.macro.ValueClass; | |
| class ABC implements ValueClass { | |
| var a: Int; | |
| var b: Bool; | |
| var c: String; | |
| } | |
| /* | |
| class ABC extends ValueClass { |
| function doClickMenu(evt){ | |
| alert(evt.source.title); | |
| } | |
| // we need to do some things to the Window once it is properly instanciated, so we add an event listener to its OPEN event | |
| $.win.addEventListener('open',function(){ | |
| var actionBar = $.win.activity.actionBar; // get a handle to the action bar | |
| actionBar.title='My App'; // change the App Title | |
| actionBar.displayHomeAsUp=true; // Show the "angle" pointing back | |
| actionBar.onHomeIconItemSelected = function() { // what to do when the "home" icon is pressed |