Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnamed/numeric attribute fix (revised) #198

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.DS_Store
npm-debug.log
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ env:
- WP_VERSION=latest WP_MULTISITE=0

before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- npm install -g grunt-cli
- npm install

script: phpunit
script:
- phpunit
- grunt jasmine;

notifications:
email:
Expand Down
29 changes: 29 additions & 0 deletions js-tests/build/helpers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
// Mock localization data.
window.shortcodeUIData = {

"shortcodes": [],

"strings": {
"media_frame_title":"Insert Post Element",
"media_frame_menu_insert_label":"Insert Post Element",
"media_frame_menu_update_label":"Post Element Details",
"media_frame_toolbar_insert_label":"Insert Element",
"media_frame_toolbar_update_label":"Update",
"edit_tab_label":"Edit",
"preview_tab_label":"Preview",
"mce_view_error":"Failed to load preview",
"search_placeholder":"Search",
"insert_content_label":"Inner Content"
},

"nonces":{
"preview": "123",
"thumbnailImage": "123"
}

};

window.shortcodeUIFieldData = {}

},{}]},{},[1]);
Loading