Headings from h1 through h6 are constructed with a # for each level:
# h1 Heading
## h2 Heading
### h3 Heading| /** | |
| * Class description | |
| * | |
| * @author FirstName LastName | |
| * @version 1.0 | |
| * @description Class description | |
| * @testedIn ClassNameTest | |
| * @uses Class1, Class2 | |
| * @code | |
| * @history |
| /* Chrome DOM i18n: Easy i18n for your Chrome extensions and apps' DOM. | |
| * 2011-06-22 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public Domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ | |
| /*jslint laxbreak: true, strict: true*/ | |
| /*global self, chrome, document*/ |
| Gist of Centralized Async Handling via Queueable Apex | |
| For accompanying presentation see http://scottbcovert.github.io/queueable-apex | |
| NOTE: The following source alone will not compile as it is one piece of a larger Force.com development framework available at https://github.com/scottbcovert/Centralized-Salesforce-Dev-Framework |
| // to get the current latitude and longitude from browser | |
| // credits https://github.com/arunisrael/angularjs-geolocation | |
| 'use strict'; | |
| angular.module('geolocation',[]).constant('geolocation_msgs', { | |
| 'errors.location.unsupportedBrowser':'Browser does not support location services', | |
| 'errors.location.notFound':'Unable to determine your location', | |
| }); | |
| angular.module('geolocation') |
| var mongoose = require('./index') | |
| , TempSchema = new mongoose.Schema({ | |
| salutation: {type: String, enum: ['Mr.', 'Mrs.', 'Ms.']} | |
| }); | |
| var Temp = mongoose.model('Temp', TempSchema); | |
| console.log(Temp.schema.path('salutation').enumValues); | |
| var temp = new Temp(); | |
| console.log(temp.schema.path('salutation').enumValues); |
See also