Permalink
Browse files

Update lib

  • Loading branch information...
timdown committed May 19, 2015
1 parent 69aa53a commit fd74190a43f34e0960182657e7aadc3aaa9612bf
@@ -9,8 +9,8 @@
*
* Copyright 2015, Tim Down
* Licensed under the MIT license.
- * Version: 1.3.0
- * Build date: 10 May 2015
+ * Version: 1.3.1-dev
+ * Build date: 20 May 2015
*/
(function(factory, root) {
if (typeof define == "function" && define.amd) {
View
@@ -4,8 +4,8 @@
*
* Copyright 2015, Tim Down
* Licensed under the MIT license.
- * Version: 1.3.0
- * Build date: 10 May 2015
+ * Version: 1.3.1-dev
+ * Build date: 20 May 2015
*/
(function(factory, root) {
@@ -109,7 +109,7 @@
};
var api = {
- version: "1.3.0",
+ version: "1.3.1-dev",
initialized: false,
isBrowser: isBrowser,
supported: true,
View
@@ -6,8 +6,8 @@
*
* Copyright 2015, Tim Down
* Licensed under the MIT license.
- * Version: 1.3.0
- * Build date: 10 May 2015
+ * Version: 1.3.1-dev
+ * Build date: 20 May 2015
*/
(function(factory, root) {
if (typeof define == "function" && define.amd) {
@@ -460,13 +460,12 @@
options = createOptions(options, {
containerElementId: null,
- selection: api.getSelection(this.doc),
exclusive: true
});
var containerElementId = options.containerElementId;
var exclusive = options.exclusive;
- var selection = options.selection;
+ var selection = options.selection || api.getSelection(this.doc);
var doc = selection.win.document;
var containerElement = getContainerElement(doc, containerElementId);
@@ -9,8 +9,8 @@
*
* Copyright 2015, Tim Down
* Licensed under the MIT license.
- * Version: 1.3.0
- * Build date: 10 May 2015
+ * Version: 1.3.1-dev
+ * Build date: 20 May 2015
*/
(function(factory, root) {
if (typeof define == "function" && define.amd) {
View
@@ -10,8 +10,8 @@
*
* Copyright 2015, Tim Down
* Licensed under the MIT license.
- * Version: 1.3.0
- * Build date: 10 May 2015
+ * Version: 1.3.1-dev
+ * Build date: 20 May 2015
*/
(function(factory, root) {
if (typeof define == "function" && define.amd) {
View
@@ -26,8 +26,8 @@
*
* Copyright 2015, Tim Down
* Licensed under the MIT license.
- * Version: 1.3.0
- * Build date: 10 May 2015
+ * Version: 1.3.1-dev
+ * Build date: 20 May 2015
*/
/**

0 comments on commit fd74190

Please sign in to comment.