From 1ce509528ea572767dc91b7bef223802bd1a462b Mon Sep 17 00:00:00 2001 From: Brendan Batliner Date: Sun, 17 Jul 2016 02:54:29 -0500 Subject: [PATCH] Cleanup after reviewing diff --- LICENSE | 2 +- docs/plugins.md | 7 +++---- package.json | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/LICENSE b/LICENSE index 8ce8bc2..d746b04 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Original work Copyright (c) 2013 HubSpot, Inc. +Copyright (c) 2013 HubSpot, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/docs/plugins.md b/docs/plugins.md index 7096c52..d5a8561 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -11,15 +11,14 @@ Plugins can be published individually to package managers such as npm or bower, ``` npm install --save vex-dialog ``` -Warning: `vex-dialog` package doesn't exist at this moment in time. Use `vex2-dialog`. ### Registering plugins All plugins must be registered with the main vex module. ```javascript -var vex = require('vex2') // or window.vex, if included via script tag -vex.registerPlugin(require('vex2-dialog')) // or window.vexDialog, if included via script tag +var vex = require('vex') // or window.vex, if included via script tag +vex.registerPlugin(require('vex-dialog')) // or window.vexDialog, if included via script tag // The plugin is registered under the vex namespace. vex.dialog.alert('I was made by a plugin!') @@ -53,4 +52,4 @@ vex.helloWorld.open('Hello!') // logs 'you opened a vex with a plugin!' ### List of plugins -- [vex-dialog](https://github.com/bbatliner/vex2-dialog) +- [vex-dialog](https://github.com/bbatliner/vex-dialog) diff --git a/package.json b/package.json index 28bcc54..2ff2314 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "Brendan Batliner